19 #ifndef INCLUDED_TCPSENDER_H 20 #define INCLUDED_TCPSENDER_H 22 #include "OscSender.h" 27 typedef int socklen_t;
29 #include <sys/types.h> 30 #include <sys/socket.h> 31 #include <netinet/in.h> 33 #include <arpa/inet.h> 38 #define MAX_TCP_SIZE 65536 84 bool sendOscPacket (osc::OutboundPacketStream *bundle);
98 virtual void newClient(
int tcp_client );
104 std::list<SOCKET> tcp_client_list;
107 std::list<int> tcp_client_list;
110 const char* tuio_type() {
return "TUIO/TCP"; }
114 char data_buffer[MAX_TCP_SIZE+4];
118 HANDLE server_thread;
119 DWORD ServerThreadId;
121 pthread_t server_thread;
Definition: FlashSender.h:166
Definition: OscSender.h:37
Definition: TcpSender.h:48