Re: Does CFNetwork proccess http response code 101 internel?
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