updates. New data types.
[silc.git] / lib / silcutil / silcnet.h
index b4301253939b0e618b44e9481da69fbad9829ab5..3d3144057cc65ccb017636cce7d61921a5b84e90 100644 (file)
@@ -32,8 +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);
+uint16 silc_net_get_remote_port(int sock);
+uint16 silc_net_get_local_port(int sock);
 char *silc_net_localhost();
 
 #endif