CORBA 2.6.1 Programmer's Reference

sockeh.h Classes
The topics that follow describe the various classes declared in the sockeh.h header file
($NSD_ROOT/include/nsdevent/sockeh.h).
Class Fw_Sock_Address
API Methods
Fw_Sock_Address()
Creates an Fw_Sock_Address object.
~Fw_Sock_Address()
Destructor for the current Fw_Sock_Address object.
static unsigned hash( const Fw_Sock_Address &pr_address )
Rogue Wave dictionary-compatible hash method.
int operator== ( const Fw_Sock_Address &pr_RHS )
Compares the instance with the parameter on the right-hand side. Returns true if the instance
and the right-hand side string compare on all API strings.
API Data
enum { Max_Host_Name_Len = 80 }
Maximum length of the host name.
char ia_host_name[ Max_Host_Name_Len ]
Host name for socket.
short iv_port_number
Port number for socket.
Class Fw_Sock_Client_EH
API Methods
bool connect( void *pp_server_address )
Directs the client event handler to initiate establishment of a connection with the peer indicated by
the transport-dependent pp_server_address. The result of this method indicates whether the
client event handler succeeded in initiating the connect protocol.
If connect returns true, the client event-handler user should expect to be called with either
theconnected or connect_failed method.