The client program to open a thread, define a TUserInfo object usrInfo and initialized, the IP address for the server machine (63 - byte string), port 4477 short integer (2 bytes), and the user called his own name (31 byte string), and password for the Software (31 byte string); Then add usrInfo header (command word is 0 x01) every 10 s sent to the address and port of usrInfo (header structure definition: (1 byte) command word, data length integer (4 bytes))
How to implement??????? Urgent urgent for code