Listener (FB)ΒΆ
FUNCTION_BLOCK Listener
Listener fb opens a socket on a port and listens for new incomming streams. Represents a TCP Server.
Order of calls:
Start: Binds the listening socket and starts listening on it.
Listen: This method may be called at any time after start. The new Streams are appended to the already listening streams.
Accept: Returns a new connected TCP Stream.
Stop: Stops listening on the port.
Properties:
Methods:
Structure: