Searched refs:bytes_received (Results 1 – 2 of 2) sorted by relevance
/NetX-Duo-v6.3.0/samples/ |
D | demo_bsd_raw.c | 234 INT bytes_received; in thread_1_entry() local 306 bytes_received = 0; in thread_1_entry() 310 …bytes_received = recvfrom(sock_raw, (VOID *)recv_buffer,64, 0, (struct sockaddr *) &fromAddr, &add… in thread_1_entry() 311 if (bytes_received > 0) in thread_1_entry() 314 … printf("Client 1 received (%d bytes); %s \n", bytes_received, (CHAR *)&recv_buffer[0] + 20); in thread_1_entry() 317 printf("Client 1 received (%d bytes); %s \n", bytes_received, (CHAR *)&recv_buffer[0]); in thread_1_entry()
|
/NetX-Duo-v6.3.0/addons/BSD/ |
D | nxd_bsd.c | 4022 ULONG bytes_received; in nx_bsd_recv() local 4425 …set, (VOID*)((INT)rcvBuffer + header_size), (ULONG) (bufferLength - header_size), &bytes_received); in nx_bsd_recv() 4449 offset = offset + bytes_received; in nx_bsd_recv() 4474 bytes_received = packet_ptr -> nx_packet_length; in nx_bsd_recv() 4489 bsd_socket_ptr -> nx_bsd_socket_received_byte_count -= bytes_received; in nx_bsd_recv() 4497 return((INT)bytes_received + (INT)header_size); in nx_bsd_recv() 4565 INT bytes_received; in nx_bsd_recvfrom() local 4593 bytes_received = nx_bsd_recv(sockID, rcvBuffer, bufferLength, flags); in nx_bsd_recvfrom() 4596 if (bytes_received < 0) in nx_bsd_recvfrom() 4603 else if (bytes_received == 0) in nx_bsd_recvfrom() [all …]
|