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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:52:31+00:00 2026-05-30T15:52:31+00:00

Both, GCDAsyncSocket and AsyncSocket titles state they are asynchronous, both look similar. However, all

  • 0

Both, GCDAsyncSocket and AsyncSocket titles state they are asynchronous, both look similar. However, all stuff about sockets is about handling a single continuous stream of unlimited length, coming from TCP data packets. At first, I was a little bit confused, thought AsyncSocket does some magic by making custom request and response packets and handling them for me asynchronously (for example if I make request A,B,C then a response from a server might come in a different order, for example B,C,A). After a bit of digging into the world of sockets, I understood the data coming both from a server (via socket reads) is verrry synchronous, not asynchronous. It’s all about reading one stream, cutting it into the packets and making callbacks to my delegate class, and if I make requests A,B,C then responses from a server will come in the same order A,B,C. AFAIK, AsyncSocket uses main run loop, so it’s again using main thread, main queue. So, what its part is about being asynchronous?

  • 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-30T15:52:32+00:00Added an answer on May 30, 2026 at 3:52 pm

    It is asynchronous in the sense that read and write calls return immediately, without blocking the thread, and allow you to process their results at a later time via delegation and/or blocks.

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

Sidebar

Related Questions

Both are mathematical values, however the float does have more precision. Is that the
Both ideas sound very similar to me, but there might be subtle differences or
Both about -a and -e options in Bash documentation is said: -a file True
Both these methods work, however which is better method to use out of the
Both Wikipedia and this site describe a similar step in the Simulated Annealing algorithm,
Both offer policies which have to be enforced and are similar in operation. There
Both source and destination tables have about 40 columns. No. of rows to be
both IO::Handle and IO::File are included in core package called IO. They are object
Both of these generate an error saying they must be a compile-time constant: void
Both the jQuery and Prototpye JavaScript libraries refuse to allow me to use a

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.