Re: ws2_32: Cope with invalid protocols in WSAEnumProtocols

2013-09-05 Thread Bruno Jesus
On Thu, Sep 5, 2013 at 9:44 AM, Dmitry Timoshkov wrote: > Bruno Jesus <00cp...@gmail.com> wrote: > >> +INT validprotocols[] = { WS_IPPROTO_TCP, >> + WS_IPPROTO_UDP, >> + NSPROTO_IPX, >> + NSPROTO_SPX, >> +

Re: ws2_32: Cope with invalid protocols in WSAEnumProtocols

2013-09-05 Thread Dmitry Timoshkov
Bruno Jesus <00cp...@gmail.com> wrote: > +INT validprotocols[] = { WS_IPPROTO_TCP, > + WS_IPPROTO_UDP, > + NSPROTO_IPX, > + NSPROTO_SPX, > + NSPROTO_SPXII, > + 0 }; This should