closeSock()

Close given socket connection. Works for booth client and server sides.

Syntax:
closeSock( sock )

Example: