send net message server to client

Blitz3D Forums/Blitz3D Programming/send net message server to client

cermit(Posted 2004) [#1]
I'm coding this messenger like program, first creating a host/server in one program. Then connecting to it with a client program.
But I can only send messages from the client program to the host/server program. If if try to send a message to the client from the server i get a "Stream does not exist".
I cant post any source code right now, but if you need it i'll post it soon.
I'm using WriteString tcp_stream, "Message" to send the messages.


bradford6(Posted 2004) [#2]
there needs to be a stream from client to server and from server to client.

the handle for the stream is local to the box


cermit(Posted 2004) [#3]
Ok now it works :) thanks for your help