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

The Archive Base Latest Questions

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

Lets say that I have a function todo() and I want to implement this

  • 0

Lets say that I have a function todo() and I want to implement this function on a packet sent from a node to a destination among all the routers.

So I want that the packet goes through TCP via ethernet(could be anything) and while going I want to process the packet by calling todo() on it.

I am trying to simulate this on omnet and thus wanted advice on it…

Do i need to implement the entire TCP stack first or is there an inbuilt feature for simulation in it and if there is does it allow me to do the thing I mentioned ??

I am a beginner in using omnet so please provide me with guidelines on how to do this…. Thanks a lot …

  • 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-22T15:34:45+00:00Added an answer on May 22, 2026 at 3:34 pm

    Your question is little confusing.
    Routers process IP packets. They dont care about the payload, which might contain a TCP segment.

    You have a scenario like this:

    Client -> Router -> Server

    So the Client will create on L7 a packet and gives it to TCP module. There you can add your function. For example in the sendToIP function
    The packet goes to IP and goes out via Ethernet to the Router. Router looks at destination IP address and send it out the interface as configured in routing table.
    The server will receive the packet. it goes through its tcp module (their you can also add your todo() function) and gives it to your application module.

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

Sidebar

Related Questions

Lets say that i have this block of text public function __construct() { parent::__construct();
Lets say that I have an executable and when it is started I want
Probably I missed something, but lets say I have this: $('a.delete').click(function(){ resp=window.confirm(Are you sure
Right now, lets say I have code much like this... $some_var=returnsUserInput(); function funcA($a) {...}
let's say that I have this function in Rails (I have actually :P -
lets say i have a function called simpleFunction(); that i call a bunch of
Lets say I have a recursive function that creates lists within lists. It return
Let's say that I have an Erlang function, with spec. -spec foo(integer(), string()) ->
Let's say you have a function that returns a date: Date myFunc(paramA, paramB){ //conditionally
Lets say that you have websites www.xyz.com and www.abc.com. Lets say that a user

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.