diff C++/SocketListener.h @ 194:9fc5f917872b

Update Luae bits and LuaSocket
author David Demelier <markand@malikania.fr>
date Wed, 27 Nov 2013 17:07:50 +0100
parents ce3e1c3d6fed
children 3c12f0e8bbb9
line wrap: on
line diff
--- a/C++/SocketListener.h	Wed Nov 27 11:34:02 2013 +0100
+++ b/C++/SocketListener.h	Wed Nov 27 17:07:50 2013 +0100
@@ -63,6 +63,13 @@
 	void clear();
 
 	/**
+	 * Get the number of clients in listener.
+	 *
+	 * @return the number of clients in the listener.
+	 */
+	unsigned size();
+
+	/**
 	 * Wait for an event in the socket list. If both s and us are set to 0 then
 	 * it waits indefinitely.
 	 *