• 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: readInBackgroundAndNotify & Socket
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: readInBackgroundAndNotify & Socket


  • Subject: Re: readInBackgroundAndNotify & Socket
  • From: Malte Tancred <email@hidden>
  • Date: Tue, 8 Oct 2002 16:15:25 +0200

On tuesday, oct 8, 2002, at 15:13 Europe/Stockholm, email@hidden wrote:
But in my observer method i call readDataInBackgroundAndNotify for a new notification!!!!
The data block after i receiving 32768 bytes and sometime block after 1024
bytes, why?

What do you mean by "the data block"?

The method -readDataInBackgroundAndNotify shouldn't block. You should receive a notification when data has been read.

Are you saying that your method -myData: isn't called again after having read 32768 bytes and, in some cases, after only 1024 bytes?

Are you sure the other end is really sending all data you expect it to?

Are you sure no exceptions have been raised during the read operation?

How is the "small" socket created?

Cheerio,
Malte
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: readInBackgroundAndNotify & Socket
      • From: email@hidden
References: 
 >Re: readInBackgroundAndNotify & Socket (From: email@hidden)

  • Prev by Date: Where is "CoreMenuExtraGetMenuExtra" in 10.2?
  • Next by Date: Debugger problems
  • Previous by thread: Re: readInBackgroundAndNotify & Socket
  • Next by thread: Re: readInBackgroundAndNotify & Socket
  • Index(es):
    • Date
    • Thread