Answers for "write int to socket"

0

write int to socket

int n = 4;
int tmp = htonl(n);
write(socket, &tmp, sizeof(tmp));
Posted by: Guest on October-24-2021

Browse Popular Code Answers by Language