Dave Shield wrote:
> Dave Shield wrote:
> 
>> While testing the udpTable fixes under MinGW and Cygwin, I came across
>> a couple of further problems, as follows:
>>
> [snip]
> 
>> I'm sure there was another problem, but it escapes me....
>>  
> Found it.
> Compiling the new 'snmpnetstat' utility under cygwin fails - complaining
> about 'ntohs' in inet6.c (though it's happy with the use of the same 
> calls in
> inet.c).   Investigations show that using the set of #includes from 
> inet.c in
> inet6.c as well, seems to solve this problem.
> 
> Alex - you applied different patches to inet6.c (5.12, 5.13) and inet.c 
> (5.10)
> for cygwin support.  Can you remember why the two different approaches?
> Would you have any objection to replacing the earlier (inet6.c) changes 
> with
> the later one from inet.c ?

I can't remember why there are two different approaches.  I mostly 
copied the win32 specific changes from the older version of snmpnetstat. 
  I also had to switch to Winsock2 from what I remember.

Can you send me a patch so I can test it with MSVC?  If it works with 
MSVC and MinGW and it fixes Cygwin then I see no reason not to apply 
your changes.

BTW, when did you install Cygwin?  My latest testing was with an August 
12th install.

Alex


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to