libt2n: (gerd) small improvements, resolve doxygen conflicts
[libt2n] / src / socket_server.hxx
index 93111da..5dfea1f 100644 (file)
@@ -60,11 +60,12 @@ class socket_server : public server
 */
 class socket_connection : public connection
 {
+    friend class socket_server;
+
     private:
-        int socket;
+        int sock;
 
-        friend void socket_server::fill_buffer(long long usec_timeout);
-        socket_connection(int _socket, int _timeout);
+        socket_connection(int _sock, int _timeout);
 
     public: