« Return to Thread: problem about writeInBackgroundAndNotify

problem about writeInBackgroundAndNotify

by Guo Xu :: Rate this Message:

Reply to Author | View in Thread

Hi everyone,
  I have downloaded the WebServer-1.2.1 example program from http://wiki.gnustep.org/index.php/WebServer. I got a problem.
When the browser client visit the server page, like http://localhost, the server didn't give any response, until timeout.

I checked the program, I found that if I change the 
"[[connection handle] writeInBackgroundAndNotify: result]" in Line 1480
to"[[connection handle] writeData: result]"
it can work.

Does anyone known why the method writeInBackgroundAndNotify cannot work in this example?

_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@...
http://lists.gnu.org/mailman/listinfo/gnustep-dev

 « Return to Thread: problem about writeInBackgroundAndNotify