Re: readInBackgroundAndNotify & Socket
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.