• 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: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )


  • Subject: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • From: email@hidden
  • Date: Wed, 27 Jul 2011 21:43:01 -0500

On Wed, 27 Jul 2011 14:10:15 +0100, Quinn "The Eskimo!" wrote:
On 27 Jul 2011, at 13:12, Eric Gorr wrote:

Can you mention the name of the thread, date, and specific forum this message was in?

It's "[GCD] Non-blocking TCP socket connection establishment with
Dispatch I/O?" and it's currently about halfway down iOS Development >
iOS 5 beta > Core OS.


<https://devforums.apple.com/community/ios/ios5beta/coreos>


I figured out what the problem was...I hadn't performed the steps necessary to access the private ios5beta forums where this thread is.

In any case, I am still stuck, but have updated the sample project with my latest attempt.

http://ericgorr.net/pq/AF_UNIX_GCD_Client.zip

The issue is solely on the client side.

What appears to be working is the following:

1. The client send data to my launchd server
2. The launchd server receives the data
3. The launchd server sends back a reply
4. The client receives the reply

When the client receives the reply, as best I can determine, all of the bytes that the server has sent are read in.

The problem is that the client continues to receive read events. However, there are no bytes to read associated with the event.

This is (probably) the last issue that needs to be resolved.

If anyone has any ideas on what I could try, please let me know.


p.s. I am hoping that others are finding this thread useful and will, ultimately, find the sample project useful - once it is working.



_______________________________________________ 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: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
      • From: "Quinn \"The Eskimo!\"" <email@hidden>
References: 
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: Eric Gorr <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: "Quinn \"The Eskimo!\"" <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: Eric Gorr <email@hidden>)
 >Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions ) (From: "Quinn \"The Eskimo!\"" <email@hidden>)

  • Prev by Date: Re: SOCKS proxy support
  • Next by Date: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Previous by thread: GCD / Dispatch IO and NSIncrementalStore
  • Next by thread: Re: Using a GCD Client ( was Re: Trouble getting SSD Project working & Questions )
  • Index(es):
    • Date
    • Thread