Sorry, you never state t$, so it's an integer where you need a string (probably also a DOH).
And when you call readstring, it will read from where you stopped reading last, this is usefull when a stream contain more than one string. Anyway:
Server_Lastmsg$=t instead of Server_Lastmsg$=ReadString (Server_Stream) should work.
I hope it will work for you too :)
And when you call readstring, it will read from where you stopped reading last, this is usefull when a stream contain more than one string. Anyway:
Server_Lastmsg$=t instead of Server_Lastmsg$=ReadString (Server_Stream) should work.
I hope it will work for you too :)