Lines Matching refs:nb
139 ssize_t nb; in read_server() local
144 nb = recvfrom(sd, buf, len, 0, (struct sockaddr *) from, &alen); in read_server()
145 if (nb < 0) { in read_server()
148 return nb; in read_server()
151 return nb; in read_server()
153 }else return nb; in read_server()
155 return nb; in read_server()
165 ssize_t nb; in write_server() local
168 nb = sendto(sd, buf, len, 0, (struct sockaddr *)to, in write_server()
170 if (nb < 0) { in write_server()
173 return nb; in write_server()
175 } else return nb; in write_server()
177 return nb; in write_server()