Sending/Getting Packets

Posted on 2004-05-02
Medium Priority
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!
Question by:Chuckie_Ice
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

ennixo earned 2000 total points
ID: 10973298
you can find the source of a visual basic packet sniffer here:

Author Comment

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!

Author Comment

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.

Expert Comment

ID: 10982333
no problem for me, i will accept your points ;)

Author Comment

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!

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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 …
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

764 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