954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C client server write method

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?

ricedragon
Newbie Poster
5 posts since Nov 2011
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: