Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

LSOCK_Connector.i

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 // $Id: LSOCK_Connector.i,v 1.1.1.3 2003/02/21 18:36:32 chad Exp $
00003 
00004 // LSOCK_Connector.i
00005 
00006 // Establish a connection.
00007 
00008 ASYS_INLINE int 
00009 ACE_LSOCK_Connector::connect (ACE_LSOCK_Stream &new_stream, 
00010                               const ACE_UNIX_Addr &remote_sap, 
00011                               ACE_Time_Value *timeout,
00012                               const ACE_Addr &local_sap,
00013                               int reuse_addr,
00014                               int flags,
00015                               int perms)
00016 {
00017   ACE_TRACE ("ACE_LSOCK_Connector::connect");
00018   int result = ACE_SOCK_Connector::connect (new_stream, remote_sap, 
00019                                             timeout, local_sap, 
00020                                             reuse_addr, flags, perms);
00021   if (result != -1)
00022     // This is necessary due to the weird inheritance relationships of ACE_LSOCK_Stream.
00023     new_stream.set_handle (new_stream.get_handle ());
00024   return result;
00025 }
00026 

Generated on Mon Jun 16 11:20:02 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002