Tcp Echo Server Using Sockets

Posted By: SecurityTube_Bot
Posted On: Mon 21 Feb 2011
Views: 10424
Share this video:
Share it on Facebook Share it on Twitter Share it on Reddit Share it on Digg Share it on Stumbleupon
Support SecurityTube:


Description: A TCP Echo server is probably one of the simplest programs to build for a novice. The functionality of a Echo server is simple - it just echoes back whatever you send it. The Client sends a string and the server echoes back the same string to the client. At one point Echo servers were used for network diagnostic purposes. The Echo server in this video runs in an infinite loop but can only process clients serially one after the other. To add multi-client serving support, we will need to make it multi-threaded or use a select() asynchronous call.
Links:

1. Beej's Socket Programming guide

2. Client Server programming using sockets

3. Unix Network Programming

4. Raw Socket programming basics

Tags: programming ,


Comments (None)

Login to post a comment