I have a question regarding apr_socket_recvfrom.

I have a program that monitors multiple gameservers. I use apr_socket_recvfrom, so I can detect which server is reporting back to my program, but somehow it seems that the port value is never set in the apr_sockaddr_t struct, and i have to use something like the
#ifdef WIN32
       from->port = ntohs(from->sa.sin.sin_port);
#endif Is this a bug, or am I just missing something.

/Ruben Hesselbaek


Reply via email to