Hi everybody, I'm trying to make a "undefined" socket.
What i mean with undefined is that it will only contain:
PACKAGE:
Destination:Mac to send to: Length:0x6
Source:Mac that is sending this package: Length:0x6
Type:I want to define it: Length:0x2

then i will add some data to send here(not necessary for now).

This is my code right now:
Code:
Private Sub SendData()

Dim rClient As Socket = New Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp)

'Make Data to send, not package header!
Dim buffer() As Byte = MakeReq(b_mac, sOpt.mac, sOpt.ip, sOpt.mac, MakeTIp(1), n_mac)

rClient.EnableBroadcast = True
Dim _ip As EndPoint = New IPEndPoint(IPAddress.Broadcast, 4950)
rClient.SendTo(buffer, _ip)

end sub
If I monitor my network with Wireshark i will now get somthing like this:

Destination: good
Source: good
Type: bad! it is 0x0800 (IP)

then i get a section that is called IPv4 with some data
Then i get a section of data that is called User Datagram Protocol(UDP)
then i get my DATA

I want the IP and UDP section removed and I want to change the Type value
Please help, I have tried to Google it but failed! I have tried everything I can, Please help me.