'SNMP Trap Receiver not receiving traps from different Hosts
I developed an SNMP Trap Listener Console app using SnmpSharpNet library. It receives all traps sends using a simulator, that is from localhost. But it is not receiving anything, if we send a trap from different host in the same network.
Here is the socket Code
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
IPEndPoint ipep = new IPEndPoint(IPAddress.Any, 162);
EndPoint ep = (EndPoint)ipep;
socket.Bind(ep);
How can I receive traps from remote station also?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
