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