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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:54:56+00:00 2026-06-03T19:54:56+00:00

In an Azure-based web application, I want a client to be able to send

  • 0

In an Azure-based web application, I want a client to be able to send a TCP packet to port 293 on my server and, in response, my web app should open up a socket for the client (and be able to send TCP back).

Does it work the same in Azure as it does in any C# server? Does the socket C# file go inside a web role or worker role? What classes can/should I use?

All help is appreciated!

  • 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-03T19:54:57+00:00Added an answer on June 3, 2026 at 7:54 pm

    Web Roles and Worker Roles are essentially Windows Server 2008 SP2/R2 with and without IIS running, respectively. As for code, do whatever you’d do in Windows Server to listen on a particular port.

    A port maps to a specific role. So, if you have a Web role and create an input endpoint on port 293, then that traffic would be directed to your Web Role (and load-balanced across all instances). Likewise, if you set up the port on a Worker Role, the traffic would go to instances of the Worker Role.

    If your socket listener is actually going to save data that’s being uploaded, you need to make sure your saved data goes to durable storage – that is, to Windows Azure blobs or tables, or SQL Azure. If you write to a local disk (including disk local disk space allocated as a Local Resource), it’s non-durable and you cannot count on data sticking around if something goes wrong (e.g. disk failure).

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

Sidebar

Related Questions

An existing web application I want to migrate to the Windows Azure Cloud authenticates
We have a web based (ASP.NET MVC) application that uses SQL Server 2008 for
I'm in the early phases of designing an Azure-based application. One of the things
My Azure app hosts multiple ZeroMQ Sockets which bind to several tcp ports. It
I'm about to start developing a web-based application that I can best describe as
I'm considering using Fat Entities from Lokad.Cloud in a new Azure based application. At
I want to build an Azure application that has two worker roles and NO
We have an ASP.NET MVC3 based Web role running on the Azure cloud, using
I am making a member based web app in ASP MVC3 and I am
How should one configure an Azure Webrole when using a TCP-based WCF on the

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.