Solved

Sending/Getting Packets

Posted on 2004-05-02
5
278 Views
Last Modified: 2010-05-02
Hi, I wanted to know if there was any way that I could possibly send a packet and control its headers in VB. Also, I would greatly appriciate it if anyone could tell me how to retrieve incomming packets, like a packet sniffer. I would gladly award extra points to anyone who can help me out with this! Thanks!
0
Comment
Question by:Chuckie_Ice
  • 3
  • 2
5 Comments
 
LVL 5

Accepted Solution

by:
ennixo earned 500 total points
ID: 10973298
you can find the source of a visual basic packet sniffer here:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=46567&lngWId=1
0
 
LVL 2

Author Comment

by:Chuckie_Ice
ID: 10974126
Hey thanks ennixo! I will leave this post up to hopefully get more info on sending packets. If I do not get any replies to my question then I will accept your answer as the best :D. If I do get some replies on this topic, I will still award you with some points because of your help. Thanks!
0
 
LVL 2

Author Comment

by:Chuckie_Ice
ID: 10982254
ennixo, I may very well accept your answer as the correct answer. Using the source code you gave me, I was able to construct a program that can send out packets and control the headers, I just need to complete it and make sure everything works.
0
 
LVL 5

Expert Comment

by:ennixo
ID: 10982333
no problem for me, i will accept your points ;)
0
 
LVL 2

Author Comment

by:Chuckie_Ice
ID: 11002145
Hey it worked! Thanks a lot :D !!! Also another thanks for this question from you: http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20951960.html . I was looking for this code, then I found one of your previous quesitons, and it helped me to make my packet sender (with resizing the forms and all). Cheers!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

735 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question