Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8457103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T12:43:23+00:00 2026-06-10T12:43:23+00:00

I want to know how I can send packets through the network with raw

  • 0

I want to know how I can send packets through the network with raw data. I need to be able to get the Physical addresses of devices on the LAN so I plan on broadcasting or multicasting ARP packets.

Below would be a correctly constructed ARP packet requesting the IP of a device.

0000  00 1e e5 fb a5 21 00 1a  70 dd e1 f2 08 06 00 01   .....!.. p.......
0010  08 00 06 04 00 01 00 1a  70 dd e1 f2 c0 a8 01 01   ........ p.......
0020  00 00 00 00 00 00 c0 a8  01 90                     ........ ..      

This is the raw data in Hexadecimal.

If I was to have the data in ASCII instead is it as simple as opening a socket and sending the information with the correct port number?
Actually, since this is Level 2 instead of 3, that would mean no TCP and UDP (I think?) so how would I send this out?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T12:43:24+00:00Added an answer on June 10, 2026 at 12:43 pm

    ARP runs on the link layer, TCP sockets and UDP run on IP. PHP can ipen a raw IPv4 socket. using socket_create(). There are examples on the documentation page.

    There are also shell tools that CAN construct do this, and from within PHP, you can run them using exec() or related functions.

    The exact tool and usage will depend on your operating system, which you haven’t mentioned in your question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to send 'packets' of data (i.e. discrete messages) between two programs through
I want to know how I can send or recieve data over internet to/from
I want to know if an applet made in java, can send data to
I want to know how can i send an email with a standard text
I want to know how I can send the command(s) spawned by xargs to
I use $.get(... syntax to send my form data with Jquery Ajax. I want
I want to know how can we send direct request to .DLL with some
I want to know how can i send a <FORM> from a html pages
I want to know a method how can I send 1 specified item for
I am creating an app and want to know if my app can send

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.