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

readInBackgroundAndNotify & Socket


  • Subject: readInBackgroundAndNotify & Socket
  • From: email@hidden
  • Date: Tue, 8 Oct 2002 11:49:02 +0200

hi, all
I have a small socket that read a file sent from a remote connection the
problem is that i read with readInBackgroundAndNotify max 32768 bytes after
the transfer block. The file to sent is more big (1,5MB). Why i'm not able
receiving more data from remote connection.

- (void)myData:(NSNotification *)notification
{
//retreiving my data from dictionary

if([mydata length] > 0)
{
//do something.....
}
else
{
//connection closed...
}

[fileHandle readInBackgroundAndNotify];
}
_______________________________________________
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: Cameron Hayne <email@hidden>
  • Prev by Date: Re: case-insensitive strings
  • Next by Date: Re: NSMutableArray performance
  • Previous by thread: [ANN] RRSpreadSheet-01J Jaguar Update
  • Next by thread: Re: readInBackgroundAndNotify & Socket
  • Index(es):
    • Date
    • Thread