updates.
[runtime.git] / lib / silcutil / unix / silcunixnet.c
index 7b2ef02dcd0bc550be79cb8e238270b2cdd443ba..1abb7a0c1bb0c1f77dcfc5db9f2866fc518326ab 100644 (file)
@@ -22,6 +22,8 @@
 #include "silcincludes.h"
 #include "silcnet.h"
 
+int silc_net_set_socket_nonblock(int sock);
+
 /* This function creates server or daemon or listener or what ever. This
    does not fork a new process, it must be done by the caller if caller
    wants to create a child process. This is used by the SILC server. 
@@ -84,6 +86,8 @@ int silc_net_create_server(int port, char *ip_addr)
   return sock;
 }
 
+/* Closes the server by closing the socket connection. */
+
 void silc_net_close_server(int sock)
 {
   shutdown(sock, 2);
@@ -199,7 +203,7 @@ int silc_net_create_connection_async(int port, char *host)
   return sock;
 }
 
-/* Closes the connection */
+/* Closes the connection by closing the socket connection. */
 
 void silc_net_close_connection(int sock)
 {