[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / DEV_Connector.inl
blob924a42547919a7c17a5ec9305c1b05729b094b0f
1 // -*- C++ -*-
2 //
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.
9 ACE_INLINE
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,
14                                       int reuse_addr,
15                                       int flags,
16                                       int perms)
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")));
26 ACE_INLINE int
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
31   return 0;
34 ACE_END_VERSIONED_NAMESPACE_DECL