Hi,
The synopsis of send() is
#include <sys/socket.h>
int send(int s, const void *msg, int len, int flags);
in HP-UX. Could somebody tell me what is the meaning of "const void *msg".
I try to send a long integer from client to server by the following command
long int event;
...
send(socketFD, &event, sizeof(event), 0);
...
But it can't work and I got the error message
"error: Invalid argument"
What's wrong ?? Thanks a lot :)
Kuang-chun Cheng