get_socket_descriptorT_get_socket_descriptorGetSocketDescriptorGetSocketDescriptor (Operator)
Name
get_socket_descriptorT_get_socket_descriptorGetSocketDescriptorGetSocketDescriptor — Get the socket descriptor of a socket used by the operating system.
Signature
Description
get_socket_descriptorget_socket_descriptorGetSocketDescriptorGetSocketDescriptorGetSocketDescriptor returns the socket descriptor used by
the operating system for the socket connection that is passed in
SocketSocketSocketSocketsocket.  The socket descriptor can be used in operating
system calls such as select, read, write,
recv, or send.
Execution Information
  - Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
  
SocketSocketSocketSocketsocket (input_control)  socket → HSocket, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
 
Socket number.
 
  
SocketDescriptorSocketDescriptorSocketDescriptorSocketDescriptorsocketDescriptor (output_control)  integer → HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
 
Socket descriptor used by the operating system.
 
Possible Predecessors
open_socket_acceptopen_socket_acceptOpenSocketAcceptOpenSocketAcceptOpenSocketAccept, 
open_socket_connectopen_socket_connectOpenSocketConnectOpenSocketConnectOpenSocketConnect, 
socket_accept_connectsocket_accept_connectSocketAcceptConnectSocketAcceptConnectSocketAcceptConnect
See also
set_socket_paramset_socket_paramSetSocketParamSetSocketParamSetSocketParam
Module
Foundation