gnustep-dev
[Top][All Lists]
Advanced

[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: Mon, 24 Aug 2009 11:09:18 +0800

Hi Richard

  I directly downloaded the GNUstep setup bin files from http://www.gnustep.org/experience/Windows.html page, I don't know how to apply this change to my environment. So I can't test if it is ok.
  Should I compile GNUstep environment myself?  Can you give me some references.

2009/8/23 Richard Frith-Macdonald <address@hidden>

On 22 Aug 2009, at 23:23, Riccardo Mottola wrote:

Hi,

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 think this is now fixed in svn trunk with changes to base/Source/win32/GSFileHandle.m


reply via email to

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