[Twisted-Python] Socket number

Simon Pickles sipickles at hotmail.com
Sun Jun 10 06:26:19 EDT 2007


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.



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

More information about the Twisted-Python mailing list