TTCPBlockSocket.CloseSocket
TTCPBlockSocket

procedure CloseSocket; override;

Unit
blcksock

Description
Destroy socket in use. Future data sent to this socket will be ignored. This method is also automatically called from obeject destructor.

This modified method also wait for graceful disconnect.

See also:
CloseSocket