updates.
[runtime.git] / lib / silcutil / silcnet.h
index d6ef5c07bbd042213f5975eeeb38dff68c735c4c..b4301253939b0e618b44e9481da69fbad9829ab5 100644 (file)
@@ -32,5 +32,8 @@ int silc_net_set_socket_nonblock(int sock);
 int silc_net_set_socket_opt(int sock, int level, int option, int on);
 int silc_net_is_ip(const char *addr);
 void silc_net_check_host_by_sock(int sock, char **hostname, char **ip);
+unsigned short silc_net_get_remote_port(int sock);
+unsigned short silc_net_get_local_port(int sock);
+char *silc_net_localhost();
 
 #endif