You can open up to four, and I've used two multiplexing them with select().

I did have a problem though. One socket was flat out reading as fast as 
possible and another was writing as much as possible, both fairly long 
streams.  With all my debug logging turned on which was use a large amount 
of CPU I found the TCP stack would deadlock. The TCP Windows size (as 
watched on a protocol analyzer) for one of the connections would go to zero 
(which is fine) but never go back up (which is not).

If I left the debugging off everything goes OK, so maybe it was something I 
was doing. I never tried to get to the bottom of it with Palm.

LL

At 08:50 PM 10/14/99 +0200, [EMAIL PROTECTED] wrote:
>Hi all, a question about sockets.
>
>Can I open two sockets in no blocking mode?
>
>I have to receive data in 2 different sockets while I perform other tasks 
>in my
>application.
>
>Thanks in advance.
>
>Marco Fabbri
>Tecla Wireless Technology
>
>

Reply via email to