22, invalid agument error

Infinite Corridor corridor.infinite at gmail.com
Wed Sep 6 13:17:43 EDT 2006


I am trying to get an echoserver running on my N80 Nokia cell phone,
that uses "python for s60".
What worked:
I ran echoclient on the phone and echoserver on my Powerbook and it
worked.

What doesnt work:
When I try running the same scripts, so that I run echoclient on the
laptop and echoserver on the cellphone, the echoserver doesnt work(Yes,
I have changed the IP address correctly).

The error I get is:

File "e:/python/echoserver.py". line
15 in ?
  sockobj.bind(('',40007))
# bind it to server port number
File "<string>", line 1, in bind
error: (22, 'Invalid argument')

Why is this program showing an error on the cellphone when it is
running fine on the Mac?

Thanks, any help will be appreciated.

Dave




More information about the Python-list mailing list