Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Sending/Getting Packets

Posted on 2004-05-02
5
Medium Priority
?
284 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
[X]
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
5 Comments
 
LVL 5

Accepted Solution

by:
ennixo earned 2000 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

604 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