« Return to Thread: Problem running C server with Cygwin

Re: Problem running C server with Cygwin

by Nick048 :: Rate this Message:

Reply to Author | View in Thread

Thank You for reply.

I use the same version and as Client telnet from command line. But the error is the same.

Thank for the notice over bug.

Gaetano

Mark Fisher wrote:
i don't get this error running the code you linked.
i'm running "gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)"

i did notice a simple bug in your program though, line 141 should be:

      if (NodoTrovato == NULL){

otherwise you never create words in your list.

after that, it ran fine.
(if by fine you wanted each connection to only add one word to your server)

 « Return to Thread: Problem running C server with Cygwin