fixed dynamic port allocation
This commit is contained in:
@@ -66,6 +66,9 @@ namespace epics {
|
||||
THROW_BASE_EXCEPTION(temp.str().c_str());
|
||||
}
|
||||
else {
|
||||
|
||||
epicsSocketEnableAddressReuseDuringTimeWaitState(_serverSocketChannel);
|
||||
|
||||
// try to bind
|
||||
int retval = ::bind(_serverSocketChannel,
|
||||
&_bindAddress.sa, sizeof(sockaddr));
|
||||
|
||||
Reference in New Issue
Block a user