Network¶
Network Adapter
Contains the basic methods. See
InNetwork
andOutNetwork
for specific settings pertaining to the input and output sockets.The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name
Type
Description
Default
address
str
Own network address.
127.0.0.1
port
int
Own port.
65000
Set a client list for network.
- Parameters
list_of_clients (list) – List of tuples containing
(HOST, PORT)
, whereHOST
is astring
andport
and integer.
Set selector to listen for events: mode is ‘r’, ‘w’, or ‘rw’.