so i finally got the server.c program to run in linux environment i was elated to start the client.c program it turned out that there would be another problem.
below codes are the codes of client program i compiled it and it produced an exe but there is a warning that say's there is no new line at the end of file. what should i do?
WARNING: NO NEW LINE AT THE END OF FILE
another question is.. how will it affect my client.exe? i don't really know what to expect once you run the programs. please explain?
// this part of the code is in the last part this is where the problem lies.. while(0<(status=read(clientSocket,buffer,sizeof(buffer)-1))) printf("%f: %s", status,buffer); if(-1==status)perror("read()"); close(clientSocket); return 0; }