[Modify] Polish it
This commit is contained in:
parent
59346f550f
commit
079cd4db39
@ -842,9 +842,11 @@ namespace WebSocketSharp.Server
|
||||
|
||||
private void startReceiving ()
|
||||
{
|
||||
if (_reuseAddress)
|
||||
if (_reuseAddress) {
|
||||
_listener.Server.SetSocketOption (
|
||||
SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true);
|
||||
SocketOptionLevel.Socket, SocketOptionName.ReuseAddress, true
|
||||
);
|
||||
}
|
||||
|
||||
_listener.Start ();
|
||||
_receiveThread = new Thread (new ThreadStart (receiveRequest));
|
||||
|
Loading…
Reference in New Issue
Block a user