fixed port was sent in the wrong byte order in beacon message

This commit is contained in:
Jeff Hill
2001-01-26 22:11:33 +00:00
parent a1aea5a3d7
commit 1e63230768

View File

@@ -369,7 +369,7 @@ void casDGIntfIO::sendBeaconIO (char &msg, unsigned length, aitUint16 &portField
int status;
char buf[64];
portField = htons (inetAddr.sin_port); // the TCP port
portField = inetAddr.sin_port; // the TCP port
for (pAddr = (osiSockAddrNode *)ellFirst(&this->beaconAddrList);
pAddr; pAddr = (osiSockAddrNode *)ellNext(&pAddr->node)) {