Hello Huy,

The Win32 snmptrapd calls closesocket() on the UDP socket(s) owned by
snmptrapd to make select() stop. While this seems to work with some Windows
versions (e.g. Windows XP), this is undocumented Winsock behavior. So
whether or not this works may depend on the Windows version. On which
Windows version did you observe this behavior ?

Bart.


On Fri, May 21, 2010 at 9:54 PM, Snmp Nmcsnmp <nmc4s...@yahoo.com> wrote:

>
> Hi Bart,
> It is net-snmp-5.4.2.1 and the conf file contains just these two lines:
>
> authCommunity log, net, execute public
> snmpTrapdAddr udp:137.69.187.10:666
> regards,
> Huy
>
>
>  ------------------------------
> *From:* Bart Van Assche <bvanass...@acm.org>
> *To:* Snmp Nmcsnmp <nmc4s...@yahoo.com>
> *Cc:* net-snmp-users@lists.sourceforge.net
> *Sent:* Fri, May 21, 2010 11:53:33 AM
> *Subject:* Re: stop trapd serivce on windows timeout?
>
> On Fri, May 21, 2010 at 7:38 PM, Snmp Nmcsnmp <nmc4s...@yahoo.com> wrote:
>
>>  Stop net-snmp trapd on windows timeout and it think it hang on the
>> select. Does anyone have run into the same issue? or have a solution to
>> solve it?
>>
>
> I haven't seen this so far. With which version did this occur ? And how
> does your snmptrapd.conf look like ?
>
> Bart.
>
>
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to