aboutsummaryrefslogtreecommitdiff
path: root/src/serversocket.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-05-15 05:25:19 +0000
committerMike Buland <eichlan@xagasoft.com>2007-05-15 05:25:19 +0000
commitdda94f3b53e02e117e6eb5758afa1410e1664c9f (patch)
treeec6df681df119c854bd0d1da2dffa45aba1f233b /src/serversocket.h
parent033c41ed57348abb3a418166b1fb39bfad3312de (diff)
downloadlibbu++-dda94f3b53e02e117e6eb5758afa1410e1664c9f.tar.gz
libbu++-dda94f3b53e02e117e6eb5758afa1410e1664c9f.tar.bz2
libbu++-dda94f3b53e02e117e6eb5758afa1410e1664c9f.tar.xz
libbu++-dda94f3b53e02e117e6eb5758afa1410e1664c9f.zip
SPtr is now Bu::ified, and the List class now acts the way we think const lists
should act, you can't change anything in there. I'm still debating changing the const_iterator to a constIterator, or something else that's more Bu::worthy. Heh, the namespaces are funny...ok...I'm really tired.
Diffstat (limited to '')
-rw-r--r--src/serversocket.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/serversocket.h b/src/serversocket.h
index 9a26e2d..f146d91 100644
--- a/src/serversocket.h
+++ b/src/serversocket.h
@@ -2,13 +2,19 @@
2#define SERVER_SOCKET_H 2#define SERVER_SOCKET_H
3 3
4#include <stdint.h> 4#include <stdint.h>
5#include "fstring.h" 5#include "bu/fstring.h"
6#include "socket.h"
7 6
8namespace Bu 7namespace Bu
9{ 8{
10 /** 9 /**
10 * A single tcp/ip server socket. When created the server socket will bind
11 * to the specified interface and port, and immediately begin listening for
12 * connections. When connections come in they are pooled by the networking
13 * drivers in the kernel until they are accepted, this means that failure
14 * to keep space in the connection pool will result in connection refusals.
11 * 15 *
16 * Although the accept function returns an integral file descriptor, it is
17 * designed to be used with the Socket class.
12 */ 18 */
13 class ServerSocket 19 class ServerSocket
14 { 20 {