473,236 Members | 1,595 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,236 software developers and data experts.

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 1709
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Alex Ang | last post by:
I have written the following VBScript program. It is stored into a file "map_drive.vbs". It successfully mapped to a network drive \\server1\data. Dim WshNetwork Set WshNetwork =...
1
by: mch2k2 | last post by:
Hello All I have just started working on Pyhton. I need urgent help regarding Python Network Programming. I want the elctronic version of the Book: Foundations of Python Network programming by...
3
by: Jay | last post by:
Hi, I implemeneted an FTP client and server long time back using Java. I found sockets porgramming in java quite useful and easy to handle. I now wanted to implement a similar program using C++....
6
by: John Walton | last post by:
Hello, everyone. I just began school, and they already assigned us science fair. Since I'm in 8th grade, I get to do demonstrations for our projects. I'm probably going to demonstrate Python's...
2
by: Jesse Engle | last post by:
i'm learning how to do some basic low-level network programming. the site i'm reading talks about "network byte order" and "host byte order". the thing is, it doesn't give an explanation as to what...
4
by: Wayne M J | last post by:
I have "Professional .Net Network Programming" and "Network Programming for MS Windows 2nd Ed", but I find both of these to be lacking in what I am looking for. Has there been any books printed...
5
by: Terry | last post by:
Could someone please suggest me a good book to learn network programming. I have been programming in C#/VB.NET/VB 6.0 and have also used a bit of C++ (not MFC/ATL/COM) I am a total novice when...
6
by: Eric | last post by:
Does anyone know of any GOOD network programming book(s) that are C# based, as well as any online tutorials and forums on network programming? Thanks
2
by: ppuniversal | last post by:
Hello, Can someone tell a good Tutorial on Network Programming in C++, except Beej's Guide and Vijay Mukhi's tutorials. I want to make a Client Server application in C++ which will involve...
9
by: Mex | last post by:
Hi, I'm looking for a good book for beginners about Network Programming. Besides Stevens' book, I would like something specific for C++ language. Any suggestions? Thanks in advantage, Massimo
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.