summaryrefslogtreecommitdiff
path: root/src/SocketCore.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/SocketCore.h')
-rw-r--r--src/SocketCore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SocketCore.h b/src/SocketCore.h
index 7fdcf6e3..60f33279 100644
--- a/src/SocketCore.h
+++ b/src/SocketCore.h
@@ -154,8 +154,8 @@ public:
/**
* Creates a socket and bind it with locahost's address and port.
* flags is set to struct addrinfo's ai_flags.
- * @param port port to listen. If 0 is specified, os automaticaly
- * choose avaiable port.
+ * @param port port to listen. If 0 is specified, os automatically
+ * choose available port.
*/
void bind(uint16_t port, int flags = AI_PASSIVE);