Introduction - If you have any usage issues, please Google them yourself
This example shows a simple communication stream between a client and a server over TCP/IP. The server program also demonstrates a simple multi-threaded connection monitoring routine.
The example programs do not attempt to implement a data transmission protocol. All messages are read in 64 byte chunks and the server does not attempt to relate multi-part messages from clients. However, comments in the code indicate the places where changes would be made to accomodate multi-part messages and/or alternate message frame size schemes.
A client/server application is a two-part problem: first you must define the raw data transmission methodology for the programs, and second you must then implement a data transmission protocol to control the flow of the raw data and make it meaningful to the applications. This sample only attempts to deal with the first part of the problem transmitting the raw data.