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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T14:54:31+00:00 2026-05-29T14:54:31+00:00

I am writing a Desktop application for professional users using C++. My current design

  • 0

I am writing a Desktop application for professional users using C++. My current design relies on a third-party C++ component whose API is based on TCP/IP. To integrate this component might involve modifying it to replace the networking code with a conventional C++ API.

It would be a lot easier if I could leave the component unmodified and communicate with it in the way it expects – over the network. To do so I would need to run the component as a server listening on some high port for loopback connections.

I have two concerns with this loopback approach. Can anyone allay or confirm my fears?

Reliability and performance
The loopback connection might fail, be blocked or intercepted by antivirus software. Something like this: Loopback connections working in user's context but not working from Local System account

Security
I am not too concerned about someone sniffing my loopback packets but I don’t want my server to become a security risk itself. Is it risky to have a process listening on some high port?

Do many desktop applications operate like this?

I am initially developing on Windows but may move to Mac and Linux in future so this question applies to all the common desktop OSs.

  • 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-29T14:54:32+00:00Added an answer on May 29, 2026 at 2:54 pm

    Reliability: if component itself is reliable then there’s no problem with listening to loopback interface. If component is not reliable then it’s better to talk with it via loopback interface instead of calling it’s functions directly. You can easily handle disconnects and restart component to continue working, but if you would link to the component and component will fail – your app will fail too.

    Performance: There’s some performance penalty. Not really big with current CPU power. It should be acceptable for most applications.

    Security: component should bind to localhost address to avoid security issues. But local 3-d party software (virus) software with sufficient access level can intercept or even modify communication streams. Same for any other method of communication.

    Loopback connections are widly used (java uses it for intercommunication, named used it for master service control, etc.)

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

Sidebar

Related Questions

I'm writing a facebook desktop application for the first time using the PyFacebook api.
We are writing a HTTP based desktop application whose client runs from outside our
I am writing a desktop application written in Swing developed using Java 1.5. Some
I'm writing a desktop application to do vector drawing in C++, and considering using
I am writing an application in Java for the desktop using the Eclipse SWT
I am writing a Desktop GUI application in Clojure using Java Swing. Normally when
I am writing a virtual desktop application which utilises the DeferWindowPos API functions. The
I'm trying to connect a desktop application I am writing with the del.icio.us api
I am writing a desktop application using SWT. What is the simplest way to
I am writing a desktop application and trying to decide between using AIR (FLex)

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.