I am having problems when it comes to printing/displaying a char *string
This is my string
char *messageForServer = ("netsvr type0 dobrien %s- %s",inet_ntoa(clientAddr.sin_addr),port);
and when I go to print it like
printf("%s\n",messageForServer);
it will only print the port
part of the string.
Will be greatfull for any help as it is bugging me for hours and cant seem to find an answer