Is there any sample source code, which shows how to implement a TCP Socket for a TCP Server and a TCP Client?

best regards