What I'm trying to do is have more than 1 server running at one time and 
allow the client to connect to the least loaded one.  Is this not neccesary 
with Rugby?
Matt
-------------------------------------------------
Your doing the right thing, but.... Rugby exectues the message once it
has arrived completely, returning the result and cleaning up
immediately. There is always one thing happening at one time.

You're probably looking at efficient networking (and buffering in
REBOL), especially with small message sizes, whih Rugby typicall has.
The first connection you see (the blank one) is the server port.

--Maarten

>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
>Matt MacDonald
>Sent: maandag 17 november 2003 15:48
>To: [EMAIL PROTECTED]
>Subject: [REBOL] Rugby: Number of Connections
>
>
>I'm trying to get the number of connections on a rugby server.
Looking at
>the source code, I should be able to do something like this:
>
>num-conn: length? rugby-server/port-q
>
>but this only ever returns 2.  after probing port-q I find that the
first
>object in it is a blank connection and the second is the last
connection
>made.  So it looks like port-q does not hold all of the ports on the
>server,
>just the last one.  Any idea how to find the number of total
connections?
>
>Matt

_________________________________________________________________
MSN Shopping upgraded for the holidays!  Snappier product search... 
http://shopping.msn.com

-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to