Sock.Discard Method

Top  Previous  Next

 

Function:

For the selected socket (selection is made through sock.num) causes the socket to discard the connection with the other host.

Syntax:

sock.discard

Returns:

---

See Also:

sock.close, sock.reset

 


Details

Discarding the connection means simply forgetting about it without notifying the other side of the connection in any way.