Rejects a connection request from a remote host.
Syntax
object.Reject
Parameters
None.
Return Value
A value of zero is returned if the rejection was successful.
Otherwise, a non-zero error code is returned which indicates the
cause of the failure.
Remarks
The Reject method rejects a pending client connection and
the remote host will see this as the connection being aborted. If
there are no pending client connections at the time, this method will
immediately return with an error indicating that the operation would
cause the thread to block.
See Also
Accept Method,
Listen Method,
OnAccept Event
|