In file ip.c:

int net_port(struct SOCKADDR *s)

convert struct SOCKADDR *s->sin_port from network to host byte order

Documentation

convert struct SOCKADDR *s->sin_port from network to host byte order.
Returns:
int representation of port in host byte order

Alphabetic index Hierarchy of classes



This page was generated with the help of DOC++.