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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T18:25:31+00:00 2026-05-31T18:25:31+00:00

Purpose: to receive UDP unicast packets sent to a single port in two different

  • 0

Purpose:
to receive UDP unicast packets sent to a single port in two different processes.

System: Linux, Language: C

I am able to bind two sockets in two different processes to the same port using SO_REUSEADDR. But, as expected, the packets are received in only one(the one bound later).

Is it possible to receive packets in both the processes? If not, how is tcpdump able to read but not consume packets.

  • 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-31T18:25:32+00:00Added an answer on May 31, 2026 at 6:25 pm

    Why unicast? This is exactly what multicast is for.

    To answer you second question – tcpdump gets a copy of each packet it listens to via something called bpf, and that has to be explicitly supported by the network card driver.

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

Sidebar

Related Questions

Purpose of the code : Create two Buttons(button1 and button2). When User clicks button1,
My main purpose is to execute processes one by one in a round-robin fashion
I have two (or more threads) working parallel. Their purpose is to measure hardware
I am trying to make general purpose image display class which receives two parameters,
consider these two scenarios for reading/writing data from Audio files (for the purpose of
I have a method which purpose is to receive an image and return it
For the development of device driver in linux kernel, is there any general-purpose and
I'm developing a UDP responder to handle basic SSDP commands. The purpose of this
Scenarion: VOIP - Sending and Receiving UDP packets at the same time I have
Purpose: I plan to Create a XML file with XmlTextWriter and Modify/Update some Existing

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.