I'm trying to use readInBackgroundAndNotify on a Windows 2000 machine. But I keep on getting an error message which is complaining about access rights on the socket.
The exact error is:
"Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig
My Code is something like that:
NSFileHandle *fh = [NSFileHandle fileHandleForReadingAtPath: @"COM3"];
[[NSNotificationCenter defaultCenter] addObserver:test selector:@selector(call:) name:NSFileHandleReadCompletionNotification object: fh];
[fh readInBackgroundAndNotify];
I stumbled across SECURITY_ATTRIBUTES on
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthz/security/security_attributes.asp
Is this somehow related?