andu,
>
>
> Reading from the socket until empty is *not* the way to go. Try to
> device a protocol (say like http) where you give the server a more
> reliable parameter for its read, like the size of the message or some
> character that would mark the end of it.
> Also you can make use of "socketClosed()" to find out when the other
> side disconnected (it returns the ip address as parameter).
>
Well, thanks for the info, but actually "socketClosed()" isn't
documented
anywhere (MC or Rev), and furthermore it doesn't work (at least on MC
2.3.2 for Mac)...
Any other idea ?
JB
Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.