WINSOCK ADD WORD
Simply add a word (2 bytes) to the current packet (you can also write short integer variables). You have to call WINSOCK MAKE PACKET prior to use any WINSOCK ADD BYTE etc.. command, or else your application will cause an assertion fault (when using debug dll) or will crash (when using release dll).
Note that you may not add more than 255 bytes into a single packet (equals to 127 words). This is because the dll uses one byte per packet that indicates the length of it. In one byte its only possible to indicate a length of up to 255. You will not read or write this length byte using the packet commands, as it is managed by the dll for your benefit.
SYNTAX
WINSOCK ADD WORD a_word as Word
RELATED INFO
WINSOCK command menu
Index
EXAMPLE
Showcase-example 1
Showcase-example 2