diff include/UdpClient.h @ 336:6599a9978ac4 prerelease

Refactored UdpClient, changed line endings to Unix
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 05 Jun 2016 20:22:55 +0100
parents c42a6b4dc2d4
children
line wrap: on
line diff
--- a/include/UdpClient.h	Sun Jun 05 02:36:54 2016 +0100
+++ b/include/UdpClient.h	Sun Jun 05 20:22:55 2016 +0100
@@ -24,7 +24,7 @@
 		int enabled;
 		int outSocket;
     struct timeval stTimeOut;
-    fd_set stWriteFDS;
+    	fd_set stWriteFDS;
 		bool isSetPort;
 		bool isSetServer;
 		struct sockaddr_in destinationServer;
@@ -36,7 +36,8 @@
 		void setServer(const char* aServerName);
 		int send(void* message, int size);
 		int write(const char* remoteHostname, int remotePortNumber, void* sourceBuffer, int numBytesToWrite);
-    int waitUntilReady(bool readyForReading, int timeoutMsecs);
+		int waitUntilReady(bool readyForReading, int timeoutMsecs);
+		int setSocketBroadcast(int broadcastEnable);
 };