Specifies whether the listening socket is created with "reuse port" flag.
void setReuseServerPort(bool Value);
property ReuseServerPort : boolean;
Property ReuseServerPort As Boolean
HRESULT _stdcall IIPCInetTransport4.ReuseServerPort([in] VARIANT_BOOL Value );
HRESULT _stdcall IIPCInetTransport4.ReuseServerPort([out, retval] VARIANT_BOOL * Value);
ReuseServerPort as Boolean
public void setReuseServerPort(boolean value);
public boolean getReuseServerPort();
This property specifies whether the server socket is created with "reuse" flag set. This flag defines what to do when some socket is already bound to the same address and port. If the flag is not set and the socket is already bound, transport can't be activated.
When the socket is closed, operating system usually blocks it from being re-bound until certain timeout (0.5-4 min) elapses. The "reuse" flag lets the socket to be re-bound ignoring the timeout. However this leads to possibility for two copies of the server to be run without notification that the socket is already bound.
Default value is "true" for packages where this property is implemented/applicable.