I
Iñaki Baz Castillo
Hi, imagine I receive a TCP connection and I store the TCPSocket in a=20
variable "io_1":
io_1 =3D io
If I do "io_1.peeraddr" I can see the remote address.
If latter the connection is closed by the peer and I do "io_1.peeraddr" the=
n I=20
get an Exception because socket closed (ok).
Imagine later the *same* connection is received and I store it in "io_2".=20
Will "io_1 =3D=3D io_2" return true? or should I compare "peeraddr" Array f=
ields=20
one by one (address, port...)?
Thanks.
=2D-=20
I=C3=B1aki Baz Castillo
variable "io_1":
io_1 =3D io
If I do "io_1.peeraddr" I can see the remote address.
If latter the connection is closed by the peer and I do "io_1.peeraddr" the=
n I=20
get an Exception because socket closed (ok).
Imagine later the *same* connection is received and I store it in "io_2".=20
Will "io_1 =3D=3D io_2" return true? or should I compare "peeraddr" Array f=
ields=20
one by one (address, port...)?
Thanks.
=2D-=20
I=C3=B1aki Baz Castillo