Function 53, subfunction 1 - close UDP-socket.
Parameters:
- eax = 53 - function number
- ebx = 1 - subfunction number
- ecx = socket handle
Returned value:
- eax = -1 - incorrect handle
- eax = 0 - success
- ebx destroyed
Remarks:
- The current implementation does not close automatically all
sockets of a thread at termination. In particular, one should not
kill a thread with many opened sockets - there will be an outflow
of resources.
- The current implementation does no checks on correctness
(function returns error only if thread tries to close not opened
socket with correct handle).