Dear All,
I am using net-snmp-5.4.1.2 and I want to develop an application for sending
broadcast.
The code is like:
struct snmp_session sess_template;
snmp_sess_init(&sess_template);
...
sess_template.peername = strdup("255.255.255.255");
...
sess_template.callback = asynch_response;
...
It fails with "Failure in sendto".
Is it possible for 5.4.1.2 to send UDPv4 broadcast and how?
I also found that path 700681 can enable settings of UDP broadcast on an SNMP
session with SNMP_FLAGS_UDP_BROADCAST.
Where can I find the corresponding path against 5.4.1.2?
Thanks!
// Zeyi
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users