Hi Guys.
lately i am working on a small chat server with rooms and private
messging.
i followed Paul's amazing code and learned from it.
i added more procedures and functions and it looks great.
but my problem is this:
if more then 2 users connect
the debugger closes the server in the event when it receive data (case 2)
and the debugger message regerding the line "specified length is < 0 !"
Line X1 RequestLength.l = ReceiveNetworkData(user()\id, *Buffer, 1000)
Line X2 user()\Buffer = PeekS(*Buffer,RequestLength)
the line that the debugger refers to is X2
any ideas what causing this? :roll:
thank you.