create and listen a TCP Modbus socket.
status = modbus_tcpListen(mbc, nbConnection) [status, ierr] = modbus_tcpListen(mbc, nbConnection)
The Modbus connection created with modbus_newTcp or modbus_newRtu.
The number of connection to listen to.
0 if connection was successful and -1 otherwise.
Erreur number.
Create a socket and listen for nbConnection
incoming connections.
When called with one output argument, a Scilab error will occur when the operation fails. When called with two output arguments, no Scilab error will occur but ierr
will contain the internal modbus error number.