cleaned up file names and namespace
diff --git a/aos/common/network/send_socket.cc b/aos/common/network/send_socket.cc
new file mode 100644
index 0000000..df53c47
--- /dev/null
+++ b/aos/common/network/send_socket.cc
@@ -0,0 +1,33 @@
+#include "aos/common/network/send_socket.h"
+
+#include <string.h>
+#include <errno.h>
+#include <stdint.h>
+#include <stddef.h>
+#include <math.h>
+#include <sys/socket.h>
+
+#include "aos/common/logging/logging.h"
+
+namespace aos {
+namespace network {
+
+int SendSocket::Connect(NetworkPort port, const char *robot_ip, int type) {
+ Reset();
+ const int ret = Socket::Connect(port, robot_ip, type);
+ if (ret != 0) {
+ return ret;
+ }
+
+ if (connect(socket_, &addr_.addr, sizeof(addr_)) < 0) {
+ LOG(ERROR, "couldn't connect to ip '%s' because of %d: %s\n", robot_ip,
+ errno, strerror(errno));
+ last_ret_ = 1;
+ }
+
+ // TODO(brians): Is this a bug?
+ return last_ret_ = 0;
+}
+
+} // namespace network
+} // namespace aos