I am using recvfrom() and sendto() for receiving and sending UDP packets.
I have noticed that recvfrom() as last parameter requires a pointer to the variable storing the length of server address while sendto() requires the variable that stores the length of the client address.
Why there is this difference?