Schmoll Walter <walter.schm...@andritz.com> writes:

> Is there any other trick to use errno for socket calls on Windows? Or
> is this a bug?

You're probably right (I'm not a windows expert), but it sounds like we
should be doing something like:

int ns_errno() {
    #ifdef windows
       return dosomething();
    #else
       return errno;
    #endif
}

(or directly in a macro)
-- 
Wes Hardaker
Please mail all replies to net-snmp-coders@lists.sourceforge.net

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to