Lines Matching defs:message
41 #define MESSAGE_LEN 1000 /* The length of message */
155 char *message; /* Pointer to the message */
156 char *recvbuf = NULL; /* Pointer to the message */
283 /* Create a message */
284 message = malloc(MESSAGE_LEN);
286 strncpy(message, "Hello!", MESSAGE_LEN);
287 message[MESSAGE_LEN - 1] = '\0';
290 /* Prepare the buffer to store the received message */
304 int recvlen; /* lenght of recevied message */
308 /* Send the message to the server */
309 if (sendto(sock_fd, message, MESSAGE_LEN, 0,