Re: ws2_32: Cope with invalid protocols in WSAEnumProtocols
5 Sep
2013
5 Sep
'13
3:44 p.m.
Bruno Jesus <00cpxxx(a)gmail.com> wrote:
+INT validprotocols[] = { WS_IPPROTO_TCP, + WS_IPPROTO_UDP, + NSPROTO_IPX, + NSPROTO_SPX, + NSPROTO_SPXII, + 0 };
This should be 'static const'. -- Dmitry.
5 Sep
5 Sep
3:48 p.m.
New subject: ws2_32: Cope with invalid protocols in WSAEnumProtocols
On Thu, Sep 5, 2013 at 9:44 AM, Dmitry Timoshkov <dmitry(a)baikal.ru> wrote:
Bruno Jesus <00cpxxx(a)gmail.com> wrote:
+INT validprotocols[] = { WS_IPPROTO_TCP, + WS_IPPROTO_UDP, + NSPROTO_IPX, + NSPROTO_SPX, + NSPROTO_SPXII, + 0 };
This should be 'static const'.
Agreed, thanks.
-- Dmitry.
Bruno
4484
Age (days ago)
4484
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bruno Jesus -
Dmitry Timoshkov