Help with sockets

Godefroid Chapelle gotcha at swing.be
Wed Aug 14 22:33:29 CEST 2002


I am using xmlrpclib to debug an XMLRPC server written with Delphi on
Windows.

When trying to access the server, xmlrpclib blocks on the following
line in the method _fileobject.read() from socket.py :

new = self._sock.recv(max(n, self._rbufsize))

I suspect there is an error in the Delphi socket library I am using :
when I stop the server, the python code suddenly stops waiting and
finishes correctly.

Can someone confirm my feeling ?

And better, can someone point me to a direction I should search at to
understand what is going on ?

Thanks



More information about the Python-list mailing list