Listener.Restart Method

Mentalis.org Proxy

Mentalis.org Proxy Documentation

Listener.Restart Method 

Restarts listening on the selected IP address and port.

[Visual Basic]Protected Sub Restart()
[C#]
protected void Restart();

Remarks

This method is automatically called when the listening port or the listening IP address are changed.

Exceptions

Exception Type Condition
System.Net.Sockets.SocketException There was an error while creating the listening socket.

See Also

Listener Class | Listener Members | Org.Mentalis.Proxy Namespace