Mercurial > hg > beaglert
diff include/UdpServer.h @ 131:ff28e56e5b7e scope-refactoring
Updated Network files to match Udpioplugin 18:fb5a61b10223
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Wed, 26 Aug 2015 02:02:10 +0100 |
parents | 719119fb2905 |
children |
line wrap: on
line diff
--- a/include/UdpServer.h Tue Aug 25 11:14:25 2015 +0100 +++ b/include/UdpServer.h Wed Aug 26 02:02:10 2015 +0100 @@ -52,9 +52,8 @@ */ int read(void* destBuffer, int maxBytesToRead, bool blockUntilSpecifiedAmountHasArrived); void close(); - int emptySocket(); - int emptySocket(int maxBytes); - void *getWaste(); + int empty(); + int empty(int maxCount); /* * Waits until the socket is ready for reading or writing. *