(digging this up because I'm doing multiplayer stuff)
The code in this post was hanging for me - you need to change
foo$ = ReadLine$(stream)
to
If SocketReadAvail(client) Then foo$ = ReadLine$(stream)
readline halts while it waits for input if there's nothing available, I think.
The code in this post was hanging for me - you need to change
foo$ = ReadLine$(stream)
to
If SocketReadAvail(client) Then foo$ = ReadLine$(stream)
readline halts while it waits for input if there's nothing available, I think.