tags:

views:

63

answers:

3

can sum guide me to a link or a program for simple client and server c or c++ code to run on linux

The requirement is that should be able to send and receive messages.....

+1  A: 

Checkout the Paul Griffiths' Echo server. It's a simple echo server and client written in C. It's written using some unix headers though, and will not work on Windows.

notnoop
Thanks.............................................................
Hulk
@Hulk, voting is the SO way of thanking ;-).
notnoop
+2  A: 

Beej's Guide to Network Programming - Using Internet Sockets is an excellent tutorial to understand sockets and connections. Plus it contains basic server-client sample applications.

Nick D
Thanks.....................................
Hulk
A: 

/* insert why didnt you google this comment */

here's one

controlfreak123
I googled ,but tat any 1 of u had a better links....Thanks this is great...........................
Hulk
lol...my google was "simple client server program in c"..it was the first one. Im not bashing you here because i find the same problem with myself. Its not usually that the answers aren't out there its about knowing how to look for them!
controlfreak123