T
Thiago Dantas
One dumb question.
I know that the default network byte organization is Big Endian.
But when i code my applications, only in the serv.sin_port that i
convert from little to big endian.
Should i convert all message that i send to network order ?
char msg[] = "Hello!\n";
send(socketDescriptor, msg, strlen(msg), 0);
best regards
Thiago
I know that the default network byte organization is Big Endian.
But when i code my applications, only in the serv.sin_port that i
convert from little to big endian.
Should i convert all message that i send to network order ?
char msg[] = "Hello!\n";
send(socketDescriptor, msg, strlen(msg), 0);
best regards
Thiago