I
Iñaki Baz Castillo
Hi, I open a TCP connection with a server:
socket =3D TCPSocket.new HOST, PORT
It's connected. Later the server is stoped or restarted so the TCP
connection gets down. But if in the client I send data using
"@socket.send" then it gets no error at all, it behaves as if the data
has been sent through the socket.
I expected that there should be some method to get the status of the
socket, but I cannot find it. Any suggestion please?
Thanks a lot.
--=20
I=C3=B1aki Baz Castillo
<[email protected]>
socket =3D TCPSocket.new HOST, PORT
It's connected. Later the server is stoped or restarted so the TCP
connection gets down. But if in the client I send data using
"@socket.send" then it gets no error at all, it behaves as if the data
has been sent through the socket.
I expected that there should be some method to get the status of the
socket, but I cannot find it. Any suggestion please?
Thanks a lot.
--=20
I=C3=B1aki Baz Castillo
<[email protected]>