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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T18:40:59+00:00 2026-06-04T18:40:59+00:00

What are the appropiate use cases for sockets or requests? Sockets maybe are good

  • 0

What are the appropiate use cases for sockets or requests?

Sockets maybe are good for everything which will happen frequently, like movement, chat.

(HTTP) Requests for things like level upgrade?

But I don’t have a good background on this. Maybe somebody can give a good explanation, when it makes sense to use them and why.

Thanks in advance.

  • 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-04T18:41:01+00:00Added an answer on June 4, 2026 at 6:41 pm

    A request is a message sent by a client of the service in a format and manner that the server understands. To send/communicate this message, the client needs network connection, which is what sockets are used for (e.g. to establish a TCP/IP connection on a particular port).

    So you will have top open and use a socket for any communication over the network. The format and manner of that communication is dependend on the server (what it recognizes/understands). An HTTP request is a particular format of a communication (from the client to the server); often the response is given as an HTTP reply (from the server to the client).

    As sending an HTTP request involves setting up a TCP/IP connection, sending the request and tearing down the connection, it is more economical to use a different communication protocol for longer-lasting communications (e.g. sending over a file or other largeer data).

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

Sidebar

Related Questions

I would like to change this: // use appropiate lang.xx.php file according to the
i need help modelling a use case diagram from a topic, it will be
Most of the time I will use an exception to check for a condition
Like GuyFawkes , I would like to use MemoryStream to store a large amount
I agree, that programming against interfaces is a good practice. In most cases in
There's a project which we're doing for the govt which necessisiates the use of
What are the core architectural differences between these technologies? Also, what use cases are
When is it appropriate to use openGl-es on the iPhone versus other toolkits? I
When is it appropriate to use connection pooling and what happens when the maximum
I often find it confusing as to when it is appropriate to use: rs.Close

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.