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 6789229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:34:44+00:00 2026-05-26T17:34:44+00:00

I am new to raw socket. I want write a server and a client

  • 0

I am new to raw socket. I want write a server and a client application that use raw sockets to send and receive raw data in one or more files. Each file may contain one or more data segments of 50 bytes each with a designated delimiters (i.e., space, carriage return, and etc.) The job of my server is to read from the file and send each segment at a time. Each packet should only contain the data without any traditional header information such as the Ethernet header like the MAC addresses (the packet may contain some form of data in front of the packet to indicate the length and/or the start of the packet and the delimiter to indicate the end of the packet). The client application should simply listen to the
port, parse the data and write the raw data into a file.

Please, guide me. I have found many raw socket programs but, none were clear. If anybody could give me a solid start then that would be great.

  • 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-05-26T17:34:44+00:00Added an answer on May 26, 2026 at 5:34 pm

    You can see here : http://sock-raw.org/papers/sock_raw, but what you say is really possible.
    In fact, imagine that, in your data, you have data that match a protocol which can be routed, the packet will be routed. Indeed, if you see documentation, Raw socket handle header and payload. You MUST have a header (in your case, it must begin with 0 to say personnal header, and after no header, juste payload). And, maybe it can be work with a very basic router/switch, but nowaday, it’s sound difficult because router look data and may imagine this is corrupted data.

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

Sidebar

Related Questions

In my flash, the socket server returns some xml data that I need to
I'm new to Android and socket programming. I want to create an android application
I currently have a client-server application that involves a Silverlight client and a .NET
I am designing a new laboratory database. I want to store the raw results
Let me state up front, that sockets programming is fairly new to me. Also,
Everything that isn't labeled calc or finalvalue is raw data that I will be
I'm writing a socket server and flash game client. The game requires real-time commands
As a database developers, what is the best way to investigate new raw data
I use FTP raw commands to upload file to a FTP server, I start
New day, new problem :-) Code: Client Side: void abw_Closed(object sender, EventArgs e) {

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.