Hi!
I have a little problem. I have making a program that comunicate with other program (make in other language) via TCP/IP Stream.
My program is client of this program (this program is server).
Well, I use OpenTCPStream, but ...
Is possible to know if the server has sended a messsage?
Example:
tcpstream = OpenTCPStream(ip,port)
; Check if server send a message
How?
If I use ReadByte(stream), have a problem:
a) If server don't send message, timeout.
b) If server send a message, lost this byte.
And ... ReadAvail ... (works) or is only for check all bytes sended?
I need frame to frame if server send a message ... :/
I have a little problem. I have making a program that comunicate with other program (make in other language) via TCP/IP Stream.
My program is client of this program (this program is server).
Well, I use OpenTCPStream, but ...
Is possible to know if the server has sended a messsage?
Example:
tcpstream = OpenTCPStream(ip,port)
; Check if server send a message
How?
If I use ReadByte(stream), have a problem:
a) If server don't send message, timeout.
b) If server send a message, lost this byte.
And ... ReadAvail ... (works) or is only for check all bytes sended?
I need frame to frame if server send a message ... :/