neurobooth_os.netcomm.get_client_messages

neurobooth_os.netcomm.get_client_messages(s1, port=12347, host='')[source]

Create socket server and get messages from clients.

Parameters
s1instance of socket.Socket

The socket object

portint

The port

hoststr

The socket address, ‘’ for local host. Default ‘’

Returns
datastr

Yields the data.

conncallable

Socket connector for sending back data.