anchao opened a new pull request #5013:
URL: https://github.com/apache/incubator-nuttx/pull/5013


   ## Summary
   
   net/udp: fix the invaild udp destination address 
   
   If the udp socket not connected, it is possible to have
   multi-different destination address in each iob entry,
   update the remote address every time to avoid sent to the
   incorrect destination.
   
   Signed-off-by: chao.an <[email protected]>
   
   ## Impact
   
   udp outstanding send with different destination address
   
   ## Testing
   
   send the udp packet, and check the data integrity on udp server.
   
   nuttx udp client send:
   ```
   while (1)
     {
       sendto(socketfd, buf, len, 0, addr/* 192.168.31.100 */, addrlen);
       sendto(socketfd, buf, len, 0, addr/* 192.168.31.101 */, addrlen);
       sendto(socketfd, buf, len, 0, addr/* 192.168.31.102 */, addrlen);
     }
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to