close_socketT_close_socketCloseSocketCloseSocket (Operator)

Name

close_socketT_close_socketCloseSocketCloseSocket — Close a socket.

Signature

close_socket( : : Socket : )

Herror T_close_socket(const Htuple Socket)

void CloseSocket(const HTuple& Socket)

void HSocket::CloseSocket() const

static void HOperatorSet.CloseSocket(HTuple socket)

void HSocket.CloseSocket()

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

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters

SocketSocketSocketSocketsocket (input_control, state is modified)  socket HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Socket number.

Possible Predecessors

open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept, open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect, socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect

Module

Foundation