writes:
> i am building a chat server in c using sockets.i have used fork to do
> non-blocking read and write between the client and the server.but i
> dont know how to accept multiple clients and relay messages between two
> hosts through the server.
[snip]
Standard C doesn't support sockets or fork(). Try a newsgroup
specific to your system, perhaps comp.unix.programmer.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.