summaryrefslogtreecommitdiff
path: root/mactelnet.h
diff options
context:
space:
mode:
authorHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-04 21:46:37 +0200
committerHåkon Nessjøen <haakon.nessjoen@gmail.com>2010-10-04 21:46:37 +0200
commit4f2f6ad13a03cc253069cb63224112f7a3a82fbb (patch)
tree5600206def27eb24559dde2af8d34be448b77312 /mactelnet.h
parentd22fb7e1c12eaeeef90af97386fe3c5c84a0a9eb (diff)
downloadMAC-Telnet-4f2f6ad13a03cc253069cb63224112f7a3a82fbb.tar.gz
MAC-Telnet-4f2f6ad13a03cc253069cb63224112f7a3a82fbb.zip
* Added support for using broadcast messages, instead of using raw socket to send data.
* Started using getopts to handle command line arguments. * Cleaned up some debug stuff.
Diffstat (limited to 'mactelnet.h')
-rw-r--r--mactelnet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mactelnet.h b/mactelnet.h
index f50b4c6..c29df3e 100644
--- a/mactelnet.h
+++ b/mactelnet.h
@@ -24,6 +24,8 @@
#define MT_PACKET_LEN 1500
+#define MT_MACTELNET_PORT 20561
+
#define MT_MNDP_PORT 5678
#define MT_MNDP_MAX_NAME_LENGTH 64