By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

Send raw packet

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
Thanks you for that!

Apr 2 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.