summaryrefslogtreecommitdiff
path: root/i/marvin/src/socket/server_socket.hh
diff options
context:
space:
mode:
Diffstat (limited to 'i/marvin/src/socket/server_socket.hh')
-rw-r--r--i/marvin/src/socket/server_socket.hh5
1 files changed, 3 insertions, 2 deletions
diff --git a/i/marvin/src/socket/server_socket.hh b/i/marvin/src/socket/server_socket.hh
index 995ad01..159aa65 100644
--- a/i/marvin/src/socket/server_socket.hh
+++ b/i/marvin/src/socket/server_socket.hh
@@ -32,8 +32,6 @@ class ServerSocket {
private:
/// L'identificateur du socket.
int socket_;
- /// Bind le serveur sur un port d'écoute.
- void bind (int port);
public:
/// Constructeur par défaut.
ServerSocket (int port);
@@ -43,5 +41,8 @@ class ServerSocket {
int accept (Address &a) const;
/// Accepte une nouvelle connexion.
int accept (void) const;
+ private:
+ /// Bind le serveur sur un port d'écoute.
+ void bind (int port);
};
#endif // server_socket_hh