15 #ifndef __IPSDKCOMM_SOCKETDESC_H__ 16 #define __IPSDKCOMM_SOCKETDESC_H__ 22 #pragma warning (push) 23 #pragma warning (disable : 4251) 26 #include <IPSDKComm/TcpIp/EndPoint.h> 44 : _guid(guid), _peerType(type), _local(local), _remote(remote)
70 unsigned short listenPort()
const;
98 #endif // __IPSDKCORE_SOCKETDESC_H__ const EndPoint & remote() const
Definition: SocketDesc.h:67
EndPoint _remote
remote end point
Definition: SocketDesc.h:87
Main namespace for IPSDK library.
Definition: AlgorithmFunctionEfficiency.h:22
serializable overlay of boost::asio::endpoint
Definition: EndPoint.h:34
Guid _guid
unique identifier of the peer
Definition: SocketDesc.h:78
Definition of import/export macro for library.
const ePeerType & type() const
Definition: SocketDesc.h:61
ePeerType
Enumerate TCP/IP peer type (client or serveur.
Definition: Types.h:50
const EndPoint & local() const
Definition: SocketDesc.h:64
Class encapsulating an auto initialized uuid.
Definition: Guid.h:27
Definition: SocketDesc.h:35
Predefined types for ip addresses management.
#define IPSDKCOMM_API
Import/Export macro for library IPSDKComm.
Definition: IPSDKCommExports.h:25
EndPoint _local
local end point
Definition: SocketDesc.h:84
ePeerType _peerType
peer type (client or server)
Definition: SocketDesc.h:81
const Guid & guid() const
Definition: SocketDesc.h:58
bool operator<(const SocketDesc &other)
Definition: SocketDesc.h:73