468,296 Members | 1,304 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,296 developers. It's quick & easy.

extracting packet info using libipq C library

I need to extract packet info (the destination address , time of arrival and destination port), for this i'm using libipq and netinet/ip.h (C libraries). The problem is that struct iphdr contains IP address while I should know the DNS name,to be required by my program to compare it with a DNS name in my program . How could this be obtained ?

Please help .(required with urgency )
May 28 '07 #1
1 2049
AdrianH
1,251 Expert 1GB
I need to extract packet info (the destination address , time of arrival and destination port), for this i'm using libipq and netinet/ip.h (C libraries). The problem is that struct iphdr contains IP address while I should know the DNS name,to be required by my program to compare it with a DNS name in my program . How could this be obtained ?

Please help .(required with urgency )
How can you miss the sign that says "DO NOT POST QUESTIONS HERE"?!?!

Next time post in the Forums section.


Adrian
May 29 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Mike Wasilewski | last post: by
6 posts views Thread by =?Utf-8?B?WW9naSBXYXRjaGVy?= | last post: by
reply views Thread by =?Utf-8?B?U2hyaWthbnQgTW9yZQ==?= | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.