ricedragon 0 Newbie Poster

I am currently writing a Client and server program and I have no idea where when wrong with the write function


It calls the function

writeToclient (int clientFd)
{

tatic  char* win  = "you win !";
 write (cliendFD , win , strlen(win)+1) ;

printf("test");

}

it execute the write but it doesnt print the test. Anyone know why?