get_socket_descriptor ( : : Socket : SocketDescriptor )

Get the socket descriptor of a socket used by the operating system.

get_socket_descriptor returns the socket descriptor used by the operating system for the socket connection that is passed in Socket. The socket descriptor can be used in operating system calls such as select, read, write, recv, or send.


Parameters

Socket (input_control)
socket_id -> integer
Socket number.

SocketDescriptor (output_control)
integer -> integer
Socket descriptor used by the operating system.


Parallelization Information

get_socket_descriptor is reentrant and processed without parallelization.


Possible Predecessors

open_socket_accept, open_socket_connect, socket_accept_connect


See also

set_socket_timeout


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH