Specifying network interface for the listen( ) on MOD54417
Posted: Wed Sep 30, 2015 2:00 pm
For the MOD54417, NNDK 2.7.1, there seems to be no way to restrict the TCP listen( ) (or accept( )) function to "listen" for connect requests on only one or the other of the two Ethernet interfaces. At the moment for us, this is actually an advantage, as we wish to accept a connection on either interface, but I'm curious as to whether other users have found this to be an issue.
What is interesting is that the TCP connect( ) function does appear to optionally allow for specifying the interface to use by supplying the IP address of that interface.
Ron
What is interesting is that the TCP connect( ) function does appear to optionally allow for specifying the interface to use by supplying the IP address of that interface.
Ron