Rename Socket to UdpSocket
The current
UdpSocket files are renamed for clarity's sake from socket.* to
udp_socket.*, because of the new tls_socket.h in a following patch.
Change-Id: Ia467d9c7909e83fe5b57066afea1b1dc1ee737bd
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/1635223
Reviewed-by: Max Yakimakha <yakimakha@chromium.org>
Commit-Queue: Jordan Bayles <jophba@chromium.org>
diff --git a/platform/api/event_waiter.h b/platform/api/event_waiter.h
index 2d51465..b7cc102 100644
--- a/platform/api/event_waiter.h
+++ b/platform/api/event_waiter.h
@@ -8,8 +8,8 @@
#include <vector>
#include "osp_base/error.h"
-#include "platform/api/socket.h"
#include "platform/api/time.h"
+#include "platform/api/udp_socket.h"
namespace openscreen {
namespace platform {
diff --git a/platform/api/socket.h b/platform/api/udp_socket.h
similarity index 97%
rename from platform/api/socket.h
rename to platform/api/udp_socket.h
index a6d88d4..7c999c2 100644
--- a/platform/api/socket.h
+++ b/platform/api/udp_socket.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PLATFORM_API_SOCKET_H_
-#define PLATFORM_API_SOCKET_H_
+#ifndef PLATFORM_API_UDP_SOCKET_H_
+#define PLATFORM_API_UDP_SOCKET_H_
#include <cstdint>
#include <memory>
@@ -107,4 +107,4 @@
} // namespace platform
} // namespace openscreen
-#endif // PLATFORM_API_SOCKET_H_
+#endif // PLATFORM_API_UDP_SOCKET_H_