icinga2/base/tcpsocket.h

23 lines
355 B
C
Raw Normal View History

#ifndef TCPSOCKET_H
#define TCPSOCKET_H
2012-03-28 13:24:49 +02:00
namespace icinga
{
class I2_BASE_API TCPSocket : public Socket
2012-03-28 13:24:49 +02:00
{
private:
2012-04-27 09:54:07 +02:00
void MakeSocket(int family);
2012-03-28 13:24:49 +02:00
public:
typedef shared_ptr<TCPSocket> Ptr;
typedef weak_ptr<TCPSocket> WeakPtr;
2012-03-28 13:24:49 +02:00
2012-05-07 13:48:17 +02:00
void Bind(string service, int family);
void Bind(string node, string service, int family);
2012-03-28 13:24:49 +02:00
};
}
#endif /* TCPSOCKET_H */