![]() |
|
#1
|
|||
|
|||
Multiple Clients TroubleHi All,
Scenario: Say I have once Server which opens one port say APLHA. There are say 200 Clients all know about the Server Port ALPHA. Rule's 1. The clients alone can send the "I am Alive"/"I am here" Msg to ALPHA to Server. 2. The Server needs to pick this msg and does work for it assuming each Client having unique IP.. Now if the All the clients are designed to Send this "I am Alive" Msg to Server at periodic interval say (1 Sec) to ALPHA. Note: All the Clients are in same local network and All the Clients will be booted/powered at time T0. I suspect that there may be collison of the Msg and may not be served properly...is it like that? How shoudl my server should be design to handle this Simultaneous Clients at time T0.? Also Note: If server could have been sending the "Are you alive" then fine , i could do it in Round Robin fashion for each of the clents and check for it's ACK. |
|
#2
|
|||
|
|||
Re: Multiple Clients TroubleI have found a simple solution...may be it's not optimized
The clients need to have some random timer on start when they start sending to the server port ALPHA, so that not all the clients send the messages at the same time... this way we can avoid of confusion or blocks at the server.. and also the server need to wait for expected time based on the number of clients so that all the clients have sent there presence info... if any one has better suggestion do let me know. Thanks in advance. |
Recent GIDBlog
Observations of Iraq by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Multiple Domain Hosting – for only $6.95! | luvila | Web Hosting Advertisements & Offers | 0 | 11-Apr-2006 06:55 |
| Multiple Domain Hosting – save your money!!! | luvila | Web Hosting Advertisements & Offers | 0 | 30-Jan-2006 07:32 |
| Linker errors with multiple file progam | nkhambal | C Programming Language | 2 | 24-Apr-2005 02:37 |
| Having trouble trying to format C: | Nickster64 | Computer Software Forum - Windows | 2 | 27-Jul-2004 07:31 |
| strange sizeof(structure) - multiple of 8 | pinkpanther | C Programming Language | 11 | 30-May-2004 07:20 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The