|
From: | Marc Brünink |
Subject: | MS Windows and Threads [was: readInBackgroundAndNotify && Windows] |
Date: | Fri, 18 Feb 2005 12:03:25 +0100 |
Hi List,
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?
Thanks for your help.
Marc_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnustep
[Prev in Thread] | Current Thread | [Next in Thread] |