comparison 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
comparison
equal deleted inserted replaced
130:da1c61aa97ea 131:ff28e56e5b7e
50 bytes have been read, (or until an error occurs). If this flag is false, the method will 50 bytes have been read, (or until an error occurs). If this flag is false, the method will
51 return as much data as is currently available without blocking. 51 return as much data as is currently available without blocking.
52 */ 52 */
53 int read(void* destBuffer, int maxBytesToRead, bool blockUntilSpecifiedAmountHasArrived); 53 int read(void* destBuffer, int maxBytesToRead, bool blockUntilSpecifiedAmountHasArrived);
54 void close(); 54 void close();
55 int emptySocket(); 55 int empty();
56 int emptySocket(int maxBytes); 56 int empty(int maxCount);
57 void *getWaste();
58 /* 57 /*
59 * Waits until the socket is ready for reading or writing. 58 * Waits until the socket is ready for reading or writing.
60 * 59 *
61 Drop-in replacement for JUCE DatagramSocket::waitUntilReady. 60 Drop-in replacement for JUCE DatagramSocket::waitUntilReady.
62 If readyForReading is true, it will wait until the socket is ready for reading; if false, it will wait until it's ready for writing. 61 If readyForReading is true, it will wait until the socket is ready for reading; if false, it will wait until it's ready for writing.