socket_receiver - bruno-beloff/scs_analysis GitHub Wiki
docs > software repositories > scs_analysis > commands > network data sources
DESCRIPTION
The socket_receiver utility is used to accept data via a Unix socket, with data sourced from the same host, or another host on the same local area network. A socket_sender utility is provided for the purpose of sourcing data, as part of the scs_dev package.
The socket_receiver utility should be started before socket_sender. When socket_sender terminates, socket_receiver will also terminate.
If a port number is not specified, then port 2000 is used.
SYNOPSIS
socket_receiver.py [-p PORT] [-v]
Options | |
---|---|
--version | show program's version number and exit |
-h, --help | show this help message and exit |
-p PORT, --port=PORT | socket port (default 2000) |
-v, --verbose | report narrative to stderr |
EXAMPLES
socket_receiver.py -p 2002
SEE ALSO
BUGS
It is possible to create scenarios where a port becomes orphaned. Depending on host operating systems, orphaned ports may take time to be garbage collected.