comparison include/UdpClient.h @ 53:6907e2177eb8 ultra-staging

Fixed bugs in Udp classes, updated tests
author Giulio Moro <giuliomoro@yahoo.it>
date Sun, 07 Jun 2015 14:58:34 +0100
parents f5b5c648cd5d
children 3068421c0737
comparison
equal deleted inserted replaced
44:f5b5c648cd5d 53:6907e2177eb8
21 class UdpClient{ 21 class UdpClient{
22 private: 22 private:
23 int port; 23 int port;
24 int enabled; 24 int enabled;
25 int outSocket; 25 int outSocket;
26 bool isSetPort;
27 bool isSetServer;
26 struct sockaddr_in destinationServer; 28 struct sockaddr_in destinationServer;
27 public: 29 public:
28 UdpClient(); 30 UdpClient();
29 UdpClient(int aPort, const char* aServerName); 31 UdpClient(int aPort, const char* aServerName);
30 ~UdpClient(); 32 ~UdpClient();