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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:21:04+00:00 2026-05-20T05:21:04+00:00

I want to deploy an application on mobile devices participating in a WiFi ad

  • 0

I want to deploy an application on mobile devices participating in a WiFi ad hoc network that improves information robustness. The primary task is pretty simple: Send data (may be of bigger size) from a node S (source) to node D (destination). Here is my sample topology:

    --- N1 ---
   /    |     \
  /     |      \
S ----- N2 ----- N4 ----- D
  \     |      /
   \    |     /
    --- N3 ---

By simply using TCP, I can set up a reliable communication channel from S over N2 and N4 to D. That’s ok.

My problem now is: I want that N1 and N3 can also get (overhear) the messages sent by S, N2 and N4, but they don’t need to get it reliably. You can think of it as a flow of packets. For example, S wants to send a packet to D. But this packet may be useful for N[1-4], too – and should therefore be stored.

This is of course possible by using the promiscuous WiFi mode on all nodes, but that would be an overkill – because it would mean that every node would have to parse all packets to see if they can store them.

A simple solution would be to send UDP packets:

  1. S sends UDP broadcast packet with a time-to-live of 1 to N2 with additional information.
  2. N1, N2 and N3 can receive and store the packet, but only N2 resends the information to N4.
  3. This behaviour repeats itself until D gets the package.

But then I have to somehow reimplement TCP in terms of packet ordering, congestion control and reliable communication – which is bad.

So my question is: Do you know about a protocol which supports this behaviour?

  • 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-20T05:21:04+00:00Added an answer on May 20, 2026 at 5:21 am

    I have done what you are saying, and there are a couple of ways to do it. Using linux is the easiest, and the only platform where I have actually implemented this.

    On linux there are two ways you can do this.
    1., use iptables and NQUEUE and pass received packets to an application process that do whatever you want with them. Use iptables rules to only pass up packets you are interested in, such as those with IP dst N2, N4 etc.
    2. use libpcap, and link you program with this library and configure a capture filter to capture the packets you are interested in.

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

Sidebar

Related Questions

If I want to deploy an ASP.NET application that hosts RIA Services endpoints for
I have created one application using XCode. Now i want to deploy that application
I want to deploy an application, that is currently deployed in Tomcat, in Glassfish
I want to deploy a client application that uses Oracle's ODP.net but I don't
I have a Java program/thread that I want to deploy into an Application Server
I want to deploy a VSTO 3 Application Level Word 2007 addin that I've
I want to deploy an application with a license attached. However, I want to
We want to deploy our application on Tomcat, WebLogic, WebSphere and JBoss. Our application's
I want to deploy same web application to multiple sites with different domains and
I want to develop and deploy application on iPhone and Android. However there is

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.