Forum OpenACS Development: Re: NaviServer on windows - 6th of June

Collapse
Posted by Maurizio Martignano on
Well, just to make an example, on bitbucket, the latest version, we have in include/ns.h

NS_EXTERN Ns_ReturnCode
Ns_SockListenCallback(const char *addr, unsigned short port, Ns_SockProc *proc, bool bind, void *arg)
NS_GNUC_NONNULL(3) NS_GNUC_NONNULL(5);

and in listen.c we have

NS_SOCKET
Ns_SockListenCallback(const char *addr, unsigned short port, Ns_SockProc *proc, bool bind, void *arg)
{
NS_SOCKET sock = NS_INVALID_SOCKET;
struct NS_SOCKADDR_STORAGE sa;
struct sockaddr *saPtr = (struct sockaddr *)&sa;

etc...

I really beg you to review all the changes that have been introduced since the 6th oh June.

All the best,
Maurizio