ClassesClasses | | Operators

close_socketclose_socketCloseSocketCloseSocket (Operator)

Name

close_socketclose_socketCloseSocketCloseSocket — Close a socket.

Signature

close_socket( : : Socket : )

Herror close_socket(const Hlong Socket)

Herror T_close_socket(const Htuple Socket)

void CloseSocket(const HTuple& Socket)

static void HOperatorSet.CloseSocket(HTuple socket)

Description

close_socketclose_socketCloseSocketCloseSocketCloseSocket closes a socket that was previously opened with open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept, open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect, or socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect. For a detailed example, see open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept.

Execution Information

Parameters

SocketSocketSocketSocketsocket (input_control)  socket_id HSocket, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Socket number.

Possible Predecessors

open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept, open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect, socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect

Module

Foundation


ClassesClasses | | Operators