src/node/socket.h
changeset 3213 08a0424399fb
parent 3208 1a754d09c4ba
child 3222 f61c17b62fd1
--- a/src/node/socket.h	Wed Jun 04 09:18:44 2008 -0700
+++ b/src/node/socket.h	Wed Jun 04 09:19:16 2008 -0700
@@ -231,9 +231,9 @@
   /**
    * \brief Listen for incoming connections.
    * \param queueLimit maximum number of incoming request to queue
-   * \returns XXX an error code
+   * \returns 0 on success, -1 on error (in which case errno is set).
    */
-  virtual int Listen (uint32_t queueLimit);
+  virtual int Listen (uint32_t queueLimit) = 0;
 
   /**
    * \brief Send data (or dummy data) to the remote host