mirror of
https://github.com/rofafor/vdr-plugin-satip.git
synced 2023-10-10 13:37:42 +02:00
Strip off the constructor delegation after all to broaden compiler compability.
This commit is contained in:
parent
8be58070ad
commit
e008ee04b2
10
socket.c
10
socket.c
@ -28,8 +28,16 @@
|
||||
#endif
|
||||
|
||||
cSatipSocket::cSatipSocket()
|
||||
: cSatipSocket(0)
|
||||
: socketPortM(0),
|
||||
socketDescM(-1),
|
||||
isMulticastM(false),
|
||||
useSsmM(false),
|
||||
streamAddrM(htonl(INADDR_ANY)),
|
||||
sourceAddrM(htonl(INADDR_ANY)),
|
||||
rcvBufSizeM(0)
|
||||
{
|
||||
debug1("%s", __PRETTY_FUNCTION__);
|
||||
memset(&sockAddrM, 0, sizeof(sockAddrM));
|
||||
}
|
||||
|
||||
cSatipSocket::cSatipSocket(size_t rcvBufSizeP)
|
||||
|
3
socket.h
3
socket.h
@ -20,13 +20,14 @@ private:
|
||||
in_addr_t streamAddrM;
|
||||
in_addr_t sourceAddrM;
|
||||
size_t rcvBufSizeM;
|
||||
|
||||
bool CheckAddress(const char *addrP, in_addr_t *inAddrP);
|
||||
bool Join(void);
|
||||
bool Leave(void);
|
||||
|
||||
public:
|
||||
cSatipSocket();
|
||||
cSatipSocket(size_t rcvBufSizeP);
|
||||
explicit cSatipSocket(size_t rcvBufSizeP);
|
||||
virtual ~cSatipSocket();
|
||||
bool Open(const int portP = 0, const bool reuseP = false);
|
||||
bool OpenMulticast(const int portP, const char *streamAddrP, const char *sourceAddrP);
|
||||
|
Loading…
Reference in New Issue
Block a user