Re: obtaining client ip address

Mishustin Kirill <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello.

	When I needed to extract manager's address during GET-request 
processing in agent, I used netsnmp_pdu->transport_data. Just cast it to 
pointer to struct sockaddr_in. Works fine for me.
	But something tells me that this is a dirty trick.

Kirill.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.