Hi folks,

I am getting an exception under Windows from a program that I have successfully 
tested on various flavors of Linux:


2008-05-20 18:10:34.821 fexclient[1044] unable to set blocking mode - 
Ein ungültiges Argument wurde angegeben.

2008-05-20 18:10:34.821 fexclient[1044] unable to set blocking mode - 
Ein ungültiges Argument wurde angegeben.

fexclient.exe: Uncaught exception NSFileHandleOperationException, 
reason: unable to read from descriptor - Ein nicht blockierender 
Socketvorgang konnte nicht sofort ausgeführt werden.

The German says that the argument to set the blocking mode is invalid, and 
after that it says that a non-blocking operation (read) cannot be carried out 
on the socket.

This occurs when I try to read the response from a web server to a GET request 
(synchronously, I'm willing to block until the response arrives).

The socket was created with 

    NSFileHandle *fileHandle =
      [NSFileHandle fileHandleAsClientAtAddress:[remote address]
                    service:[fexport stringValue]
                    protocol:@"tcp"];

I do not manipulate the filehandle after that (e.g. with ioctls).

Advice, anyone?

Best regards,

Marko

+-------------------------------------------------------------+
| Marko Riedel, EDV Neue Arbeit gGmbH, [EMAIL PROTECTED] |
| http://www.geocities.com/markoriedelde/index.html           |
+-------------------------------------------------------------+


      __________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to