Socket error problem
peter at engcorp.com
Sun Jun 9 15:29:02 CEST 2002
David LeBlanc wrote:
> I have this problem on windows where socket.socket(...) keeps returning
> 10022, 'Invalid argument'. It's actually dieing in the
> poplib.POP3.__init__(...) method. I have verified that host is reasonable
> (mymail.myisp.net or something like that ;)), and port is 110.
> If I use the test script in poplib.__main__(...) with the correct host, user
> and password, all is well, but if I call it from this other program i'm
> trying to get working I get the above error.
> I can't figure out what's wrong - any pointers?
As usual, post a traceback, or code snippets... don't make us guess
what you're doing.
More information about the Python-list