summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorChris Koch <chrisko@google.com>2019-07-28 22:43:07 -0700
committerinsomniac <insomniacslk@users.noreply.github.com>2019-07-29 08:34:01 +0100
commit6d0d21cc633742eb4de9b08ad7a53572a6907623 (patch)
tree72cdadae64b0e6af751446b0361e9cb9f223ac15 /examples
parentf672bc204f35cdafd26aeefa5faf44ab4de7c4dc (diff)
server4: set peer to broadcast if client IP is zero
Clients without an IP set their source address to 0.0.0.0, so the peer returned by ReadFrom may not actually be the address to send to. Clients without an IP should have their response broadcast. Signed-off-by: Chris Koch <chrisko@google.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions