From d7f2590a7bd6bba386dfbc0090d0c4649925b1d4 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 20 Sep 2014 14:28:45 +0200 Subject: New socket reading code (posix, not qt). --- src/inputstreamer.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/inputstreamer.h') diff --git a/src/inputstreamer.h b/src/inputstreamer.h index 168485e..842e0d2 100644 --- a/src/inputstreamer.h +++ b/src/inputstreamer.h @@ -28,8 +28,12 @@ #define __SIMPLERTP_INPUTSTREAMER_H__ #include -#include #include +#include +//#include +#include +#include +#include #include @@ -55,7 +59,10 @@ private: QHostAddress addr; quint16 port; - QUdpSocket socket; + // QUdpSocket socket; + int sock; + struct sockaddr_in name; + struct ip_mreq mreq; size_t total; -- cgit v1.2.3