RemoteDesktop : reuse port 10900
Change-Id: I504cc9405138ee2892638c31adad35b844804df9 Reviewed-on: https://review.haiku-os.org/c/haiku/+/9279 Tested-by: Commit checker robot <[email protected]> Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
committed by
Adrien Destugues
parent
6168c323f4
commit
e9276a469d
@@ -94,6 +94,7 @@ RemoteView::RemoteView(BRect frame, const char *remoteHost, uint16 remotePort)
|
||||
return;
|
||||
|
||||
fEndpoint = new(std::nothrow) BNetEndpoint();
|
||||
fEndpoint->SetReuseAddr();
|
||||
if (fEndpoint == NULL) {
|
||||
fInitStatus = B_NO_MEMORY;
|
||||
TRACE_ERROR("no memory available\n");
|
||||
|
||||
Reference in New Issue
Block a user