The addrlen of accept() and recvfrom() is a value-result argument. It should be updated to the actual size of the source address after calling accept() and recvfrom(). Signed-off-by: Aska Wu <aska.wu@linaro.org>