discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

readInBackgroundAndNotify && Windows


From: Marc Brünink
Subject: readInBackgroundAndNotify && Windows
Date: Thu, 17 Feb 2005 21:12:38 +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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]