single server and multiple client programming in c and linux
hi all,
i am new in client server programming and i have written code for single server to single client communicating one port(3490). but i have no idea how my single server will be communicate with different client on different port.how this will be happen ? please give some idea to understand the logic or send any good link or any piece of code in c , i searched on net but all help was mostly for java progamming. thanks in advance... |
Have a look at multi-threading and inetd. Several server-side daemons fork a new thread per incoming connection from the client.
|
All times are GMT -5. The time now is 11:26 PM. |