[Top][All Lists]

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

Re: problem about writeInBackgroundAndNotify

From: Guo Xu
Subject: Re: problem about writeInBackgroundAndNotify
Date: Sun, 23 Aug 2009 10:05:42 +0800

The behavior you described is exactly the same as me.
I also tested it on Windows server2003, It seems all of the Windows platform have the same problem.

2009/8/23 Riccardo Mottola <address@hidden>

Richard Frith-Macdonald wrote:

On 22 Aug 2009, at 04:35, Guo Xu wrote:

Hi Richard
 Thank you very much for your answer.
 But I have tried it again at a different machine which also have Windows7 Build 7127 platform. All my computer have platform of Windows7, I don't test on any other environment. What about your environment?

Ah,  I didn't realise you were using windows.  I guess there could quite easily be a problem with async sockets on windows.  I haven't noticed it in other programs, but I don't use windows much, in fact I don't have a windows development environment at the moment.  I'll try to find time to get a windows system set up, but in the meantime perhaps someone else who uses windows might be able to help.

First I tested on linux and it works.

Then I did a test on Windowx XP and I get the following behaviour:

1. I start the webserver (I  am admin, on linux you need to be root, since it opens port 80)
2. I retrieve a page from it
3. windows firewall notices the port access, I unlock it
4. on the standard output of the gnustep console, I see the response, but the connecting client doesn't get any data back until it timeouts.
5. the only error I see comes form an NSLog and says "Unable to set blocking mode - Invalid argument" [*]


[*] I find it interestng that it goes onto the stdout. Usually error messages are routed to the windows event console

reply via email to

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