I'm trying to communicate with two devices through ETH. My question is that I need to create two nodes, one socket for each node, or there is the possibility to put both connections inside in a just one node?
You can create multiple connections from one single node. There is no need to do this from separate nodes.
When you call TcpOpen you get back a handle to the socket for this very connection.
When you later call TcpSend, TcpReceive, and so on, you have to pass in the handle.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more