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

  • Home
  • SEARCH
  • 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 997311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:00:45+00:00 2026-05-16T07:00:45+00:00

I am a beginner to networking and I have a few questions regarding networking.

  • 0

I am a beginner to networking and I have a few questions regarding networking.
1)How can a process execute code that is sent from a different computer on the network. Generally a process’s code segment cannot be changed once its loaded to ensure protection. (Also I can execute some arbitrary code to corrupt the process’s memory)
2)Also can a process hear to multiple ports ? And multiple processes can hear to a same port ? For example two https associated with port 80. How to distinguish between the processes and how to ensure protection ?
3)Also I would like to know how listen is implemented in sockets. Are they implemented as software interrupts ?

Any good book recommendations are very much appreciated.

Thanks & Regards,

Mousey.

  • 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-16T07:00:46+00:00Added an answer on May 16, 2026 at 7:00 am

    Q: How can a process execute code sent from another machine?
    A: Generally, this is a bad idea as the security concerns are difficult to fully explore. However, this can be done by saving the network-delivered code to a separate executable and then launching this new program. This can also be done on most systems by just treating the raw bytes received as code; load the bytes into the heap (not the stack!), cast the address to a function pointer, and call it. Again though, this is almost certainly a bad idea.

    Q: Can a process listen on multiple ports simultaneously?
    A: Yes. By the way, HTTPS is port 443. HTTP is port 80.

    Q: Can multiple processes listen on the same port (with the same protocol, on the same address)?
    A: No. Other processes might be able to eavesdrop and also receive the packets, but they’re not directly bound to the port. In general, only one process can be bound to a given protocol/port/address 3-tuple.

    Q: How is blocking while listening on a socket implemented?
    A: By the operating system, in its own fashion. Generally a thread is moved into the “blocking” state when it calls accept, read, or poll/select on a non-ready socket, and will not receive CPU time until some data have arrived.

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

Sidebar

Related Questions

I am a PHP beginner. I have developed a social networking website similar to
Beginner level question Scenario: Have simple string cocantation tool, that I might expand later
Absolute beginner question: I have a template file index.html that looks like this: ...
Rails beginner here.. I have a users resource where I implemented a callback that's
Beginner programmer here....hope it makes sense :) I have created a console app that
Python beginner here. I've looked around and found similar questions but can't quite cobble
Beginner question... How different is define($a,365); from $a = 365; ? Thanks! JDelage
Beginner question: I want to debug some code that compiles. I pressed debug, it
Beginner rails/javascript question: Let's say that I have a simple Circle model in a
beginner to python here. I have 2 nested lists that I want to merge:

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.