WINSOCK ADD STRING

Simply add a string (num bytes = length of string + 1) to the current packet. 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 a string length of 254). 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 STRING a_string as String

RELATED INFO
WINSOCK command menu
Index

EXAMPLE
Showcase-example 1
Showcase-example 2