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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:33:35+00:00 2026-05-25T15:33:35+00:00

Does Listening a port means a continuous polling to that port or a discrete

  • 0

Does “Listening” a port means a continuous polling to that port or a discrete polling or an interrupt driven process.
What exactly is going on in “Listening to a Port”?

  • 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-25T15:33:36+00:00Added an answer on May 25, 2026 at 3:33 pm

    A port is nothing more than a concept, it’s not like if you could check some memory bits, waiting for some information.

    So, listening to a port will teach the kernel what to do upon receiving packets with this specific port number: transmit it to the process which asked to listen on that port, instead of replying [or not] that the port in not open.

    NB: that’s just speculations, I didn’t investigate any kernel implementation.

    EDIT: On the process side,

    • listen will tell the kernel that you’re interested in a particular rendez-vous port
    • (I’m not sure what happens between listen and accept, either the kernel buffers the new connections or rejects them until accept has been called, please refer to the relevant manual)
    • accept will bind the connection to a communication port, and start buffering the incoming packets
    • recv (or poll or select certainly) will pickup data from the reception buffer
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Does anyone know if there is a port that absolutely has to be open
If suppose client does not listen on 68 port,when DHCP server receives the request,
I have the following node.js server set up listening to port 9001 var https
I've created a script to monitor the output of a serial port that receives
Let's say I have a server listening on port 1234. I have some client
I am trying to write a simple bash script that is listening on a
My eclipse somehow starts listening on port 8000. I have no idea why it
I have an apache vhost listening on port :443 I am trying to redirect
I have a C++ server in linux using Mongoose listening on port 8080 for
In Java, what would the best way be to have a constantly listening port

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.