Hint: Java sends a '\n' character at the end.
--
http://mail.python.org/mailman/listinfo/python-list
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
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,
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):