Valhalla Legends Archive

Programming => General Programming => C/C++ Programming => Topic started by: brave2010 on March 22, 2010, 11:09 AM

Title: help with socket programming in c
Post by: brave2010 on March 22, 2010, 11:09 AM
how toi Create for example 2 files, namely: server, client,
Server: act as servers/provider, will receive all requests from different client
Client: requesters meaning that server handle multiple client can i?i'm new to socket progarmming
Title: Re: help with socket programming in c
Post by: rabbit on March 22, 2010, 01:20 PM
http://lmgtfy.com/?q=simple+c+socket
Title: Re: help with socket programming in c
Post by: Ender on March 26, 2010, 12:55 PM
http://ender.x86labs.org/code/misc/echoserver/

This will compile and run on unix. It's a simple client/server echo program. By the way, you should probably introduce yourself before you ask for help. What brought you here?

For Windows you need winsock... I don't know anything about Windows programming so you'll have to find a tutorial.