Re: [Ironpython-users] socketFile.readline never returns

2013-03-28 Thread Claudio C
__socketFile is created by this method def connect(hostName) : import errno global __connSocket global __socketFile __connSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) __connSocket.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 0) try: ret = __connSocke

Re: [Ironpython-users] socketFile.readline never returns

2013-03-28 Thread Curt Hagenlocher
How was __socketFile created? Is there a possibility that it's looking for "\r\n" but only getting "\n"? (I can't remember anything about IronPython's handling of eol.) On Thu, Mar 28, 2013 at 3:53 PM, Claudio C wrote: > Hello everybody, > > I'm calling this method with IronPython but this never

[Ironpython-users] socketFile.readline never returns

2013-03-28 Thread Claudio C
Hello everybody, I'm calling this method with IronPython but this never ends cause the second call to readline in the while loop never returns. This doesn't happend with Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin