From: Pedro Fortuny Ayuso Date: 2006-12-03T22:11:38+09:00 Subject: Re: Weird thing with sockets ------=_Part_26613_32222399.1165151494506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline IIRC: For the peer's address, you need t.peeraddr t.addr is the address of *this* socket "here" (in the system it was created), t.peeraddr is the address of the peer socket "there" (the one created to talk to *this one*) Pedro -- Pedro Fortuny Ayuso C/Capuchinos 14, 1. 47006 Valladolid. SPAIN http://pfortuny.sdf-eu.org ------=_Part_26613_32222399.1165151494506--