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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:18:59+00:00 2026-05-19T03:18:59+00:00

Recently I have started working on a program that will monitor the packets of

  • 0

Recently I have started working on a program that will monitor the packets of one of my open-source programs in an attempt to learn more about programming and networking. Also, I want to add additional functionality to the program without editing the source, like an external control panel.

(I used WPE Pro to filter packets in case you’r wondering, WireShark is too much hassle for such a simple task.) One thing bothers me though, the Socket ID.

I know what it is, and I’ve asked a question about it before, but I cant figure out how to use it/assign one/intercept one.

Without the right socket ID, my program wont be able to do anything, so my question is if it’s possible to find out what Socket ID a socket is using, once you capture the packet?

If not, are there any other ways of doing? -or possible other languages like Visual Basic?

Thank you for your time.

  • 1 1 Answer
  • 2 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-19T03:19:00+00:00Added an answer on May 19, 2026 at 3:19 am

    If, by socket ID, you mean the return value of a successful call to socket() function, I don’t think there’s a way.

    The closest thing you can obtain is the process ID because, as you may already know, each IP packet has a destination that’s described by the tuple (IP address, port) and inside a system only one socket can be successfully bound to that tuple. Utilities like TCPView are able to map an IP tuple to a process, so a way does exist if that information is enough for you.

    If that’s not the case, I’m not aware of any method to retrieve the socket ID you need if the target application is not collaborative.

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

Sidebar

Related Questions

I have recently started working on some open source project which I found relevant
I have recently started working on a very large C++ project that, after completing
I have recently started working on my master thesis in C that I haven't
I have a project that I have recently started working on seriously but had
I have recently started working on a legacy application that has most of its
I have recently started working with Unified Communication Managed API 2.0 (UCMA) and Office
I have only recently started working with the MVC approach, so I suppose this
I have recently started using Vim as my text editor and am currently working
Recently I have started learning rails and was a little surprised that the default
I have recently started working on an app which has both Java and native

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.