Solved

Sending/Getting Packets

Posted on 2004-05-02
5
275 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now