removing int frrom host = int(sys.argv[1]) fixed the problem. Thanks
Fred!!!
Fredrik Lundh wrote:
> [EMAIL PROTECTED] wrote:
>
> > #/ usr/bin/env python
> > # filename: tmc.py (CLIENT)
> >
> > import socket
> > import sys
> >
> > s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
> >
> > host
[EMAIL PROTECTED] wrote:
> #/ usr/bin/env python
> # filename: tmc.py (CLIENT)
>
> import socket
> import sys
>
> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>
> host = int(sys.argv[1])
> port = int(sys.argv[2])
the port number is an integer, but the host name/ip is obviously not an