[Twisted-Python] Socket number

Simon Pickles sipickles at hotmail.com
Sun Jun 10 04:26:19 MDT 2007


Hello,

In my C++ game server, I used the socket number as the temporary ID of
the connected player. Is there anyway to retrieve the socket number of a
new player?

Atm, I am just using self.transport.getPeer().host, but this is only the
IP address, not socket.

Thanks

Simon

_________________________________________________________________
The next generation of Hotmail is here! http://www.newhotmail.co.uk/





More information about the Twisted-Python mailing list