Index: blimp/net/common.cc |
diff --git a/blimp/net/common.cc b/blimp/net/common.cc |
index 1663b300534f03ff610710b6d2630a5f7c04c427..b10bb086aa882198c4281354a58956b47c0b6104 100644 |
--- a/blimp/net/common.cc |
+++ b/blimp/net/common.cc |
@@ -4,9 +4,21 @@ |
#include "blimp/net/common.h" |
+#include "net/base/ip_address_number.h" |
+ |
namespace blimp { |
const size_t kMaxPacketPayloadSizeBytes = 1 << 16; // 64KB |
const size_t kPacketHeaderSizeBytes = 4; |
+const uint16_t kDefaultTcpPort = 25467; |
+ |
+net::IPAddressNumber GetIPV4AnyAddress() { |
haibinlu
2015/12/29 00:51:46
nit, IPv4?
Kevin M
2015/12/30 23:08:49
Done.
|
+ net::IPAddressNumber output; |
+ output.push_back(0); |
+ output.push_back(0); |
+ output.push_back(0); |
+ output.push_back(0); |
+ return output; |
+} |
} // namespace blimp |