On Fri, 24 Sep 2004 10:17:54 -0400 Robert wrote: RS> On Thu, 23 Sep 2004 12:52:57 +0800 ___ wrote: RS> > when i send trap in my agent it can send 2 packages , one is send to RS> > 162(00a2) port. RS> > but the other is send to 41472(a200) not the 162.So the first is RS> > recongnized to RS> > SNMPTRAP, but the second one just a UDP package . why ? I use RS> > 0xc0a8013900a2 the tell it the port is 00a2 but I seems as it does RS> > not work . RS> RS> That sounds like a network byte order problem. Are you on an x86 machine RS> (little endian), or a big endian architecture (like ppc)?
Now fixed in cvs. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
