commit | 702e09977646efecbdc26eb348031a4ed583161a | [log] [tgz] |
---|---|---|
author | Ningyuan Wang <nywang@google.com> | Thu Mar 31 10:53:42 2016 -0700 |
committer | Ningyuan Wang <nywang@google.com> | Fri Apr 01 11:14:53 2016 -0700 |
tree | 406b6637ae78f5cb6a17882f29c79282eeb199f8 | |
parent | bb41434989fae91eb8e12e631786e23f8ce3bd89 [diff] |
dhcp client: create class SocketUtil to simplify class DHCPV4 This takes part of the code for socket handling out of class DHCPV4. The new class SocketUtil is a helper class for creating sockets and sending packet through socket. while there, this also fixes a typo for broadcast address. Bug: 25642025 TEST=compile, and test using python scripts Change-Id: I5ae3018498bfbfa23f6e50c72c4845be808ba5c4