Sockets
John S. Yates, Jr.
john at yates-sheets.org
Wed Oct 10 14:57:33 EDT 2001
More information about the Python-list mailing list
Wed Oct 10 14:57:33 EDT 2001
- Previous message (by thread): Sockets
- Next message (by thread): Sockets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 10 Oct 2001 04:14:48 -0700, hugomartires at hotmail.com (Hugo Martires) wrote: >My server need to send 2 strings separeted: > s1= 'xxx' > s2= 'yyy' > >My client must received like this: > rec1= 'xxx' > rec2= 'yyy' > >The problem is that the Client received s1 and s2 in one only string. > >How can i received in 2 separeted variables ? > >Tanks Previous posters have given the "correct" answer and I agree with them. But a kludgy fix might be to disable the Nagel algorithm. This involves putting the socket into no-delay mode. I am very new to Python, so I don't know how or whether you can do this but in traditional socket programming it is definitely an option. /john -- John Yates 40 Pine Street Needham, MA 02492 781 444-2899
- Previous message (by thread): Sockets
- Next message (by thread): Sockets
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list