discuss-gnustep
[Top][All Lists]
Advanced

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

windows installer 0.19.2, read from socket


From: Marko Riedel
Subject: windows installer 0.19.2, read from socket
Date: Tue, 20 May 2008 20:55:33 +0000 (GMT)

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, markoriedelde@yahoo.de |
| http://www.geocities.com/markoriedelde/index.html           |
+-------------------------------------------------------------+


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




reply via email to

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