Lines Matching refs:status
24 long status;
27 status = fread(sendbuf, 1, MAXLEN, stdin);
28 if (status < 0) {
29 printf("fread(): %lx (%s)\n", status, strerror(status));
32 printf("trying to send %ld bytes...\n", status);
33 status = sendto(sockFD, sendbuf, status, 0,
35 if (status < 0) {
36 printf("sendto(): %lx (%s)\n", status, strerror(status));
46 long status;
68 status = bind(sockFD, (struct sockaddr *)&clientAddr, sizeof(struct sockaddr_in));
69 if (status < 0) {
70 printf("bind(): %lx (%s)\n", status, strerror(status));