connectable_socket |
The os_connectable_socket
class is an abstract base class that contains the functions common to os_tcp_socket
and os_udp_socket , including read, write, and
connection behaviors.
false otherwise return true
. On a false return wait for connection
completion using the wait_to_connect() method. Throws: os_network_toolkit_error
true if the socket is connected to another
socket.true if the socket is at the end of input.true , the
socket generates an event on EOF.true if the socket will generate an event on
EOF.true if the socket is in a good state and not
at EOF.true if the socket is in a good state.os_socket_address that
represents the name of the peer connected to this socket. Throws: os_network_toolkit_error
)
const-1
on error. Throws: os_network_toolkit_error
-1
on error. Throws: os_network_toolkit_error
connect_to()
in non-blocking mode returns false . If time_out
is 0 (default), waits indefinitely until the
connection is complete. If time_out is non zero,
returns false if time_out
time expires and the connection is still not complete. Returns true
if the connection is complete.Throws: os_network_toolkit_error
Copyright©1994-2026 Recursion
Software LLC
All Rights Reserved - For use by licensed users only.