img_sock.png This example was striped down for ease of understanding. It holds only the relevant code for performing a client-server connection and sending one side messages using sockets.

Important notes

1) The program has a timer that checks every 100ms if any new data has been received. It is not best practice however any other means would overburden the purpose of the example.

2) If you don’t have any understanding in threading and asynchronous operations you should read the following: Threading Tutorial and AsyncCallback Delegate


Download Source