I have called the setsockopt() to set no delay after connecting like this way:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('192.168.10.1', 21980)) s.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 0) s.send("[EMAIL PROTECTED]") s.send("[EMAIL PROTECTED]") ...... but still, the server can only receive the first line, and keep waiting for the second line. So, in my mind the second line is still in the sending buffer, and not reach the server side. Any hints would be appreciated. Mike -- http://mail.python.org/mailman/listinfo/python-list