• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does CFNetwork proccess http response code 101 internel?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does CFNetwork proccess http response code 101 internel?


  • Subject: Re: Does CFNetwork proccess http response code 101 internel?
  • From: Jens Alfke <email@hidden>
  • Date: Fri, 24 Apr 2009 00:29:43 -0700


On Apr 23, 2009, at 11:55 PM, Jan Deng wrote:

I used CFReadStream to send a request to a server witch is supposed to send back a response status code 101.

What protocol is this? I don't recognize 101 as an HTTP status code. And what function are you using to connect to the server?


But I didn't get the response. CFNetwork create a error whose domain is 4 and code is -4.
And I used wireshark to catch the packs. The server did send a 101 back.

Something went wrong with the socket, if it's returning an error directly. You'll need to look up which of the kCFStreamErrorDomainXXX constants has value 4.


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Does CFNetwork proccess http response code 101 internel?
      • From: Jan Deng <email@hidden>
References: 
 >Does CFNetwork proccess http response code 101 internel? (From: Jan Deng <email@hidden>)

  • Prev by Date: Does CFNetwork proccess http response code 101 internel?
  • Next by Date: Adding extra DNS records with CFNetService?
  • Previous by thread: Does CFNetwork proccess http response code 101 internel?
  • Next by thread: Re: Does CFNetwork proccess http response code 101 internel?
  • Index(es):
    • Date
    • Thread