![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| server/client performance | tomjan | UNIX and Linux Applications | 1 | 05-28-2008 09:16 AM |
| client/server | bole | UNIX for Dummies Questions & Answers | 2 | 10-30-2006 02:19 AM |
| ntp server and ntp client | bubba112557 | SUN Solaris | 1 | 05-10-2005 11:37 AM |
| multi-threaded server, pthreads, sleep | Parahat Melayev | High Level Programming | 0 | 03-16-2005 12:38 PM |
| ftp server/client buffers | malcom | Linux | 1 | 12-24-2003 06:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Multi-client echo server
Hello
I am currently learning how to program a multi-client server. I still have some code to configure, however I think I am fairly near to the end. My main problem is that whenever I connect with one client and receive an echo, do the same with another client and receive an echo, then try and receive another echo for the first client the server seems to stall at the point where it is supposed to receive the message. The client says it has sent the message so I don't know why this is happening. And yet when server doesn't send an echo back to the first client, the second client can operate normally. I've also noticed that only when the second client closes does the echo to the first client return, but this is obviously not what I intended. The echo service works fine in single client mode, it is when simultaneous access is attempted that problems arise. Could anyone tell me why this is happening? Any help would be much appreciated. Last edited by slanj; 05-16-2008 at 07:30 PM.. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|