Using TCP/IP

Peter Hansen peter at engcorp.com
Wed Oct 1 13:34:05 EDT 2003


jblazi wrote:
> 
> How do I find out my own IP number (using Pythoi of course). And how do I
> send/receive data to/from andother TCP/IP socket (of known ip number)?

A computer can have more than one IP address.  How do you want
to deal with the situation where there are multiple interfaces
with different addresses?

Or is this just for personal code?  In which case, please specify the
OS on which you plan to run it.

-Peter




More information about the Python-list mailing list