shutdown read side of online notify socket

This commit is contained in:
Jeff Hill
2005-10-27 15:10:03 +00:00
parent 8e0f750509
commit 773c5ed64f

View File

@@ -64,6 +64,16 @@ casDGIntfIO::casDGIntfIO ( caServerI & serverIn, clientBufMemoryManager & memMgr
epicsSocketDestroy (this->sock);
throw S_cas_internal;
}
status = shutdown ( this->beaconSock, SHUT_RD );
if ( status ) {
char sockErrBuf[64];
epicsSocketConvertErrnoToString (
sockErrBuf, sizeof ( sockErrBuf ) );
errlogPrintf (
"casDGIntfIO::casDGIntfIO() beacon sock UDP read shutdown error was %s\n",
sockErrBuf );
}
//
// Fetch port configuration from EPICS environment variables