I am trying to add another socket connection for the same port for Ethernet / TCP/IP.
Existing code does this ( and succeeds )
HostEndPoint.port = TCPSocketPort; HostEndPoint.num = 1; /* device number */ HostEndPoint.ver = IP_VER4; HostEndPoint.ipa = INADDR_ANY;
ReturnValue = cre_soc ( IP_PROTO_TCP, &HostEndPoint );
But adding the following, fails:
HostEndPoint2.port = TCPSocketPort; HostEndPoint2.num = 2; /* device number */ HostEndPoint2.ver = IP_VER4; HostEndPoint2.ipa = INADDR_ANY;
ReturnValue2 = cre_soc ( IP_PROTO_TCP, &HostEndPoint2 );
ReturnValue2 is E_PAR, which indicates "Host" problem according to docs.
Looking for some guidance on how to track this down.
Thanks,
J.