Issue #1 resolved

socket_adapter in OS X doesn't work for clients

maccesch
created an issue

It always says

File "networktestclient.py", line 20, in <module>
  connection = client.connect("localhost", 1337)
File "<...>/site-packages/pygnetic/client.py", line 40, in connect
  message_factory, **kwargs)
File "<...>/site-packages/pygnetic/network/socket_adapter.py", line 138, in _create_connection
  conn.socket.send(_connect_struct.pack(message_factory.get_hash()))
socket.error: [Errno 57] Socket is not connected

Server is running. With the enet adapter it worked.

Comments (2)

  1. Log in to comment