comparison C++/Socket.h @ 173:18ad49172e6c

Update documentation and add Unix sockets
author David Demelier <markand@malikania.fr>
date Thu, 12 Sep 2013 11:23:08 +0200
parents fd138f2a9773
children 9f22bd478f21
comparison
equal deleted inserted replaced
172:a61cddaf7547 173:18ad49172e6c
116 /** 116 /**
117 * Constructor to create a new socket. 117 * Constructor to create a new socket.
118 * 118 *
119 * @param domain the domain 119 * @param domain the domain
120 * @param type the type 120 * @param type the type
121 * @param protocol the optional protocol 121 * @param protocol the protocol
122 * @throw SocketError on error 122 * @throw SocketError on error
123 */ 123 */
124 Socket(int domain, int type, int protocol = 0); 124 Socket(int domain, int type, int protocol);
125 125
126 /** 126 /**
127 * Constructor with a socket already opened. 127 * Constructor with a socket already opened.
128 * 128 *
129 * @param sock the socket 129 * @param sock the socket