realbasic-nug
[Top] [All Lists]

Re: socket array

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: socket array
From: Frank Bitterlich <bitterlich at gsco dot de>
Date: Wed, 31 Jul 2002 14:39:06 +0200
I don't know what you mean with "users", but it is definitely possible
to have many concurrent TCP/IP connections. 

You're probaly referring to the fact that only one socket can _listen_
on a given port at any time, but the trick is that as soon as a
listening socket gets a connection it isn't considered as listening an
more. So you just instantiate another socket and make it listen - as
quickly as possible, of course. And to maintain all that connections and
listeners, you could very well use an array.

Cheers,
   Frank+++

Carl Adler wrote:
> But I remember a post that referred to having multiple users at the same
> time and I thought that only one user at a time was all that was possible?
> Carl


--
Günter Schmidt & Co. oHG         
Frank Bitterlich             eMail: bitterlich at gsco dot de
Schlosserstr. 2-4            WWW:   http://www.gsco.de/gsco
D-60322 Frankfurt            Tel.:  069 / 156809-29
GERMANY                      Fax:   069 / 156809-28


<Prev in Thread] Current Thread [Next in Thread>