Re: client server programming
- From: David Schwartz <davids@xxxxxxxxxxxxx>
- Date: Sun, 27 Jan 2008 11:52:39 -0800 (PST)
On Jan 27, 1:21 am, shiv <vgst...@xxxxxxxxx> wrote:
I am writing chat application when new request comes to
server it will fork and creates a child for that request and parent
will wait for next request.Since there is only one accept call after
first success it will return.How to do this for n number of requests.
If possible plz explain with example
There are many chat applications whose source code is publically-
available. Any of them would serve as excellent examples. If your
question is just how to handle multiple clients, then *any* server
whose source code is available will serve as a good example.
Your question makes it sounds like you're trying to run before you
know how to crawl. Have you written any software that handles more
than one connection at a time yet? If not, start with a simple echo
server.
DS
.
- References:
- client server programming
- From: shiv
- client server programming
- Prev by Date: Re: Virtual serial port in usermode?
- Next by Date: Re: client server programming
- Previous by thread: client server programming
- Next by thread: Re: client server programming
- Index(es):
Relevant Pages
|
|