Re: Client Socket Connection to Java server

2009-01-16 Thread Venkatraman.S.
Hint: Java sends a '\n' character at the end. -- http://mail.python.org/mailman/listinfo/python-list

Re: Client Socket Connection to Java server

2009-01-16 Thread MRAB
TechieInsights wrote: I am having problems with a socket connection to a Java server. In java I just open the socket, pass the length and then pass the bits across the socket. I created a socket object: import socket class MySocket: def __init__(self, host='localhost', port = 28192, b

Re: Client Socket Connection to Java server

2009-01-16 Thread bieffe62
On 16 Gen, 08:10, TechieInsights wrote: > I am having problems with a socket connection to a Java server.  In > java I just open the socket, pass the length and then pass the bits > across the socket. > > I created a socket object: > > import socket > > class MySocket: >         def __init__(self,

Client Socket Connection to Java server

2009-01-15 Thread TechieInsights
I am having problems with a socket connection to a Java server. In java I just open the socket, pass the length and then pass the bits across the socket. I created a socket object: import socket class MySocket: def __init__(self, host='localhost', port = 28192, buffsize = 1024):