Do I have to call any snmp related api before calling SnmpMgrTrapListen
- From: "Kun Niu" <haoniukun@xxxxxxxxxxx>
- Date: Sun, 29 Apr 2007 01:23:05 +0800
Dear all,
I'm trying to implement a snmp trap listen deamon.
I copied the example from platform sdk.
But the api failed at the very beginning when I'm calling
SnmpMgrTrapListen(&hNewTraps).
The return error code is 42.
Do I have to call any Winsock related api before calling SnmpMgrTrapListen?
The document doesn't mention it.
Any help would be appreicated and thanks in advance.
.
- Follow-Ups:
- Re: Do I have to call any snmp related api before calling SnmpMgrTrapListen
- From: Scherbina Vladimir
- Re: Do I have to call any snmp related api before calling SnmpMgrTrapListen
- Prev by Date: Overlapped operation fails with ERROR_NETNAME_DELETED when closing the socket
- Next by Date: Re: socket communication: send & receive doesn't work right
- Previous by thread: Overlapped operation fails with ERROR_NETNAME_DELETED when closing the socket
- Next by thread: Re: Do I have to call any snmp related api before calling SnmpMgrTrapListen
- Index(es):
Relevant Pages
|