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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T15:45:56+00:00 2026-06-08T15:45:56+00:00

I read raw socket tutorial in order to implement my own bridge (i capture

  • 0

I read raw socket tutorial in order to implement my own bridge (i capture package from one side and send them to the other interface by raw socket). I am coming from Java world, so low level programming is strange to me, so forgive me for my ignorance.

I implement a bridge, so I need to send traffic from A to interface B and vice versa.
I created a single raw socket and I used it to send data to both servers by 2 different interfaces.is there any reason to why not use the same socket in order to send from interface A or B? I am asking if it’s a good practice? problems and etc

It will be great if you can clarify to me how socket is not binded to a physical interface in the underline. this is the reason that it seems strange to me that the same raw socket use to send data for different interfaces.

  • 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-08T15:45:58+00:00Added an answer on June 8, 2026 at 3:45 pm

    There is no problem to use the same raw socket for two different interfaces. the use in the specific interface is done when you call to send.

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

Sidebar

Related Questions

I'm making a program which create a RAW socket in order to read all
I need to read a complete (raw) IP frame from a TCP stream socket
I have dynamic array filled with bytes, which are read from .raw file with
On a Windows PC, is there a way to read the raw bytes from
I want to read the pdf file from raw folder if devices have any
I am trying to read a text file from raw folder, and it works
I'm trying to read from a file called quiz_questions.txt in my res/raw folder. The
I have created a raw socket which takes all IPv4 packets from data link
How do I read a raw byte array from any file, and write that
I need to read raw samples of both audio and video from an AVAsset.

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.