/* Return remote port by socket. */
-unsigned short silc_net_get_remote_port(int sock)
+uint16 silc_net_get_remote_port(int sock)
{
struct sockaddr_in remote;
int len;
/* Return local port by socket. */
-unsigned short silc_net_get_local_port(int sock)
+uint16 silc_net_get_local_port(int sock)
{
struct sockaddr_in local;
int len;