SecurityTubeBeta
Watch ... Learn ... Contribute
securitytube home
programming videos
tools videos
basics videos
fun
divider
upload video on SecurityTube
rss feed for SecurityTube

TCP Echo Server using Sockets

 

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.

Please download this file, before you view the presentation

Enable Javascript or Download Flash Playe if you see this!

 
Related Videos from: Client Server Programming using Sockets
divider
You are Viewing this Video Now!
360 views
297 views

Links:

1. Beej's Socket Programming guide

2. Client Server programming using sockets

3. Unix Network Programming

4. Raw Socket programming basics

 
Author
Vivek-Ramachandran

Vivek Ramachandran is a security evangelist and has been working in computer security related fields for the past 7 years. In 2007, Vivek spoke at world renowned conferences Defcon (WEP Cloaking Exposed) and Toorcon (The Caffe Latte Attack). The discovery of the Caffe Latte Attack was covered by CBS5 news, BBC online, Network World etc news agencies.In 2006, Vivek was announced as one of winners of the Microsoft Security Shootout contest held in India among 65,000 participants. He has also been a recipient of a Team Achievement at Cisco Systems for his work on 802.1x and Port Security modules on the Catalyst 6500 switches. Currently he spends all of his time maintaining Security- Freak.Net , SecurityTube.Net and is the founder of an online startup (currently in stealth mode). Vivek, is a Bachelor in Electronics and Communications Engineering from the prestigious Indian Institute of Technology, Guwahati.You can contact him at vivek[at]securitytube.net

 
©2007 Freak Labs