Hello,
I am opening a stream to a tcp address/port, this way :
box_socket = CreateTCPSocket()
box_TCP=CreateSocketStream(box_socket)
ConnectSocket(box_socket,HostIp("192.168.1.77"),777)
Then I writebyte to it each frame, sharing the state of my app with the remote box... but whenever I reach approx. 8000 bytes written to it, bmax is throwing a "error writing to stream". The only way to avoid it is to recreate the stream from zero (freeing it before off course).
Should I create the stream each frame and close it after having writen to it?
All I want is a simple way of sending TCP messages to a remote LAN box.
Thanks for your help.
I am opening a stream to a tcp address/port, this way :
box_socket = CreateTCPSocket()
box_TCP=CreateSocketStream(box_socket)
ConnectSocket(box_socket,HostIp("192.168.1.77"),777)
Then I writebyte to it each frame, sharing the state of my app with the remote box... but whenever I reach approx. 8000 bytes written to it, bmax is throwing a "error writing to stream". The only way to avoid it is to recreate the stream from zero (freeing it before off course).
Should I create the stream each frame and close it after having writen to it?
All I want is a simple way of sending TCP messages to a remote LAN box.
Thanks for your help.