3 // $Id: DEV_Connector.inl 80826 2008-03-04 14:51:23Z wotte $
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 // Creates a Local ACE_DEV.
10 ACE_DEV_Connector::ACE_DEV_Connector (ACE_DEV_IO &new_io,
11 const ACE_DEV_Addr &remote_sap,
12 ACE_Time_Value *timeout,
13 const ACE_Addr &local_sap,
18 ACE_TRACE ("ACE_DEV_Connector::ACE_DEV_Connector");
19 if (this->connect (new_io, remote_sap, timeout, local_sap,
20 reuse_addr, flags, perms) == ACE_IO_SAP::INVALID_HANDLE
21 && timeout != 0 && !(errno == EWOULDBLOCK || errno == ETIME))
22 ACE_ERROR ((LM_ERROR, ACE_TEXT ("address %s, %p\n"),
23 remote_sap.get_path_name (), ACE_TEXT ("ACE_DEV_IO")));
27 ACE_DEV_Connector::reset_new_handle (ACE_HANDLE handle)
29 ACE_UNUSED_ARG (handle);
30 // Nothing to do here since the handle is not a socket
34 ACE_END_VERSIONED_NAMESPACE_DECL