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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:50:39+00:00 2026-06-07T12:50:39+00:00

I wrote an XNA 4.0 solution in VS2010 that can take a list of

  • 0

I wrote an XNA 4.0 solution in VS2010 that can take a list of 3D Cartesian coordinates and produce a nice 3D visualization.

Periodically, I get a streamed in list of new coordinates from a telnet connection. I can redirect the output from the telnet session and have it issue an OS command to start up my program passing in the new list as a command line parameter. This starts up a new instance of the program, causes it to load all the assets and so forth and render the scene.

What would be keener is if I could somehow pass my application this data to the currently running instance so I could eliminate having multiple instances popping up and eliminate the asset load time of each new instance.

I’m not really sure what technologies or approaches to doing this entail. Is there an easy way to pass my C# program some data at run-time?

One approach I thought of was redirecting the output to a flatfile, and have my running instance check the flatfile for updates constantly. I’m not sure if performing such an IO hit 60 times a second is feasible, though.

  • 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-06-07T12:50:42+00:00Added an answer on June 7, 2026 at 12:50 pm

    OK if you want to do this with as little changes as possible (ie if you’re like me), I’d do it like this:

    • my main application, the large XNA one, I’d have it start a TCP server on a port known to you, say 8012
    • my telnet script would run a small application I wrote and send it the text as a parameter
      • this program would connect to port 8012 on localhost and send the parameter to my app
      • my main XNA app would be listening to it and add it to its dataset automatically
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a usercontrol that I wrote for an XNA based tile editor. This
I want to write an XNA game using .NET 4.5, so that I can
I wrote a PHP script that retrieves values from a MySQL Query. I used
I wrote a Flickr search engine that makes a call to either a public
I wrote a makefile which behaves oddly. You can find it here: http://pastebit.com/pastie/8215 Basically
I wrote a php code that display error in red color. But somehow, this
I have a problem in the game I wrote with XNA. I recently added
I Am working on a 2D game in XNA that needs some physics. I
In another thread on XNA, Callum Rogers wrote some code which creates a texture
I'm trying to write a recursive function that return a List < int *

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.