[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

DRB issue on polling and waiting.

Junkone

1/11/2008 2:56:00 PM

I have a q on how drb works. Lets say, i run a chat server using drb
at port 9000. If 2 clients try to connect to the port 9000 at the same
time, how will the server act. will it keep 1 waiting or will it drop
the request.
1 Answer

ara.t.howard

1/11/2008 4:30:00 PM

0


On Jan 11, 2008, at 8:00 AM, Junkone wrote:

> I have a q on how drb works. Lets say, i run a chat server using drb
> at port 9000. If 2 clients try to connect to the port 9000 at the same
> time, how will the server act. will it keep 1 waiting or will it drop
> the request.

handle each in a thread. in general your front/server object *needs*
to be thread safe.

regards.