468,456 Members | 1,635 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

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

network programming

if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???

Jul 8 '06 #1
6 1473
amany wrote:
if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???
I'm sure you OS will provide the required tools, so you should ask on an
OS specific group.

--
Ian Collins.
Jul 8 '06 #2

Ian Collins wrote:
amany wrote:
if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???
I'm sure you OS will provide the required tools, so you should ask on an
OS specific group.

--
Ian Collins.
hello
i want to build a simple packet analyzer..stiill need to ask an OS
groups??

Jul 8 '06 #3
amany wrote:
Ian Collins wrote:
>>amany wrote:
>>>if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???

I'm sure you OS will provide the required tools, so you should ask on an
OS specific group.

--
Ian Collins.

hello
i want to build a simple packet analyzer..stiill need to ask an OS
groups??
Network programming tends to be platform specific and you will get
better help on a group dedicated to programming on your platform. There
may well be a tool you can use and simply parse its output.

Note, it's normal practice on Usenet not to quote signatures (the bit
below the --).

--
Ian Collins.
Jul 8 '06 #4
amany wrote:
if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???
Google for pcap, libpcap, and winpcap. It wedges your TCP layer and reports
all the packets.

And always find the best newsgroup for a question. This one is only
qualified to discuss C++, and you are only lucky anyone here knew the
answer.

--
Phlip
http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!!
Jul 8 '06 #5
amany wrote:
>
Ian Collins wrote:
>amany wrote:
if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???
I'm sure you OS will provide the required tools, so you should ask on an
OS specific group.
i want to build a simple packet analyzer..stiill need to ask an OS
groups??
Yes, because network programming is OS specific. Of course, you have to
choose an OS specific _programming_ newsgroup. ISO C++, which is the topic
of comp.lang.c++, doesn't provide any functionality for network
programming.
Jul 9 '06 #6
"amany" <en*******@yahoo.comwrote in message
news:11**********************@75g2000cwc.googlegro ups.com...
if any one can help me with a piece of code to anlayze the packets i
recieve through TCP/IP to view the layer 3 and layer 2 frame???
Why don't you just download ethereal which allows you to examing all packets
incoming and outgoing? Other than that, you'll need to do a lot of research
in the socket code for your OS.
Jul 12 '06 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by John Walton | last post: by
2 posts views Thread by Jesse Engle | last post: by
4 posts views Thread by Wayne M J | last post: by
5 posts views Thread by Terry | last post: by
6 posts views Thread by Eric | last post: by
9 posts views Thread by Mex | last post: by
1 post views Thread by subhajit12345 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.