473,387 Members | 1,844 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,387 software developers and data experts.

Send raw packet

Hi all, is it possible to send raw packet in vb.net like the following:

00 50 DA B8 A2 E4 00 08 75 00 00 54 88 64 11 00 00 19 00 12 C0 21 05 07
00 10
6F ED 58 BA 00 3C CD 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00

It's not a TCP/IP packet, it's PPPoE packet. The Destination MAC is
00:50:DA:B8:A2:E4 and the Source MAC is 00:08:75:00:00:54 Can we send
it out to the network?? Thanks in advance!

Mar 31 '06 #1
2 2253
It should be possible. Check out the Socket class. It supports raw sockets.
Not sure you can use the MAC address to address the clients though (I've
never used raw sockets)

/claes

"Stanley" <xs******@gmail.com> wrote in message
news:11*********************@j33g2000cwa.googlegro ups.com...
Hi all, is it possible to send raw packet in vb.net like the following:

00 50 DA B8 A2 E4 00 08 75 00 00 54 88 64 11 00 00 19 00 12 C0 21 05 07
00 10
6F ED 58 BA 00 3C CD 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00
00 00 00 00 00 00 00 00 00 00 00

It's not a TCP/IP packet, it's PPPoE packet. The Destination MAC is
00:50:DA:B8:A2:E4 and the Source MAC is 00:08:75:00:00:54 Can we send
it out to the network?? Thanks in advance!

Mar 31 '06 #2
Thanks you for that!

Apr 2 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Piotr Bieniek | last post by:
Hello, I have a problem with UDP sockets. It concerns UdpClient class as well. It throws strange exceptions on subsequent Send calls. Exception is SocketException with native error code 10049. I...
4
by: ifmusic | last post by:
i have this sort of server - client (which is described as servents in the gnutella specification, and it's what i'm trying to do..) And this is what happens: SOMETIMES, when computer A sends...
1
by: Amadej | last post by:
Hello everyone, I'm having some odd problems with a little program I wrote for sending/receiving bytes across the network. I am using synchronous sockets, and it seems that when I send byte...
3
by: Hiroyuki Tanaka | last post by:
Dear Readers, I am trying to learn C# network programming and I have discovered that Windows TCPIP often joins small packets and send them as one to the remote server. This appears to be a...
0
by: Gregory Hassett | last post by:
Hello, I want to periodically send a TCP packet to a peer, always from the same source port. That is, each packet will come from my local ip address, port 8801, and go to the peer's ip address,...
13
by: Manfred Braun | last post by:
Hi All, I am trying to understand the blocking method socket.Send(). The call blocks as expected, but does this mean, it returnes after the underlying TCP layer got a confirmation, that the send...
1
by: Andreas R. | last post by:
Hello, I'm using Python's asynchat module for network support in a Python-based game, and I run into two problems, both of which occur at random times. Most of the time, the network sending and...
5
by: Richard Charts | last post by:
I am building a simulator that needs to send out 2 messages on a tcp connection each at a rate of 1 packet / 50ms. Right now it kind of works in that it is sending 8 (4 of each) at 200ms. Is...
2
by: Jack | last post by:
Hi all, I am writing an application that sends and receives large amount of data to and from a server. I want to encode each packet similar to a struct such that, each message has a 4 bit code...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.