Mercurial > hg > beaglert
comparison include/UdpClient.h @ 130:da1c61aa97ea scope-refactoring
Added JUCE-compatible write method
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 25 Aug 2015 11:14:25 +0100 |
parents | 3068421c0737 |
children | e77e2e712fbc |
comparison
equal
deleted
inserted
replaced
129:cce58e6ec2a2 | 130:da1c61aa97ea |
---|---|
31 UdpClient(int aPort, const char* aServerName); | 31 UdpClient(int aPort, const char* aServerName); |
32 ~UdpClient(); | 32 ~UdpClient(); |
33 void setPort(int aPort); | 33 void setPort(int aPort); |
34 void setServer(const char* aServerName); | 34 void setServer(const char* aServerName); |
35 int send(void* message, int size); | 35 int send(void* message, int size); |
36 int write(const char* remoteHostname, int remotePortNumber, void* sourceBuffer, int numBytesToWrite); | |
36 }; | 37 }; |
37 | 38 |
38 | 39 |
39 | 40 |
40 #endif /* UDPCLIENT_H_ */ | 41 #endif /* UDPCLIENT_H_ */ |