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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:27:41+00:00 2026-05-26T00:27:41+00:00

Using .net and w/o using something platform specific is there a way i can

  • 0

Using .net and w/o using something platform specific is there a way i can get two of my apps to poke eachother? Both apps will be running. This specifically will be a one way poke. I’ll need to pass it an int64 value minimum. It will run on linux with mono but i’ll be developing on windows

-edit- additional info. One process will be asp.net so that means i cant take long to do the poke. The lifetime will be <50ms because its a page request. Also i may have any write/poke request per minute or one every 10+minutes

  • 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-26T00:27:42+00:00Added an answer on May 26, 2026 at 12:27 am

    One approach we’ve used successfully is Named Pipes. In .net 3.5 they added native support so you don’t have to use p/invoke to get at the appropriate win32 APIs.

    Check out: http://www.switchonthecode.com/tutorials/dotnet-35-adds-named-pipes-support as an example.

    In short, what you’ll be doing is creating a client/server mechanism (the “named pipe”) which has a specified name; the server will set up the pipe and await client connections…the client will connect to the pipe and send data across it.

    The nice thing about this is you can send entire data structures easily (provided they’re marked [Serializable]). This allows you to implement particular messages richly (and this includes Enums, too)

    One thing to note: by default named pipes are synchronous (blocking) so your call to Connect() will run ~forever if the server is not up. You can either use the asynchronous mode or run your synchronous code in a Thread which you can later abandon/abort. Just keep that in mind when laying the groundwork as the switch to asynchronous pipe usage may be a bit of work if you haven’t planned for it.

    [Serializable]
    public enum CmdType
    {
        cmdTypeOne,
        someOtherCmdType
    }
    
    [Serializable]
    public class Command
    {
      CmdType eCmdType;
      // other command payload
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any framework/library for using ASP.NET Membership Provider with confirmation email, something ready
I'm using .NET Regular Expressions to strip HTML code. Using something like: <title>(?<Title>[\w\W]+?)</title>[\w\W]+?<div class=article>(?<Text>[\w\W]+?)</div>
How would I handle something like the below uri using ASP.NET MVC's routing capability:
Using .Net (C#), how can you work with USB devices? How can you detect
I am using .NET Remoting. My server/hoster is a Windows Service. It will sometimes
I'm using .NET 3.5. I have two string arrays, which may share one or
I am trying to implement something using NET MF and was looking for a
I'm using .NET MVC 2 If an incoming request contains the URL: http://something.com/1234 where
Using .NET 1.1, I have a DataGrid that contains three columns for each row.
Using .Net 3.0 and VS2005. The objects in question are consumed from a WCF

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.