aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Net/OVR_Socket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'LibOVR/Src/Net/OVR_Socket.cpp')
-rw-r--r--LibOVR/Src/Net/OVR_Socket.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/LibOVR/Src/Net/OVR_Socket.cpp b/LibOVR/Src/Net/OVR_Socket.cpp
index 3390d8d..d0b4e77 100644
--- a/LibOVR/Src/Net/OVR_Socket.cpp
+++ b/LibOVR/Src/Net/OVR_Socket.cpp
@@ -5,16 +5,16 @@ Content : Socket common data shared between all platforms.
Created : June 10, 2014
Authors : Kevin Jenkins, Chris Taylor
-Copyright : Copyright 2014 Oculus VR, Inc. All Rights reserved.
+Copyright : Copyright 2014 Oculus VR, LLC All Rights reserved.
-Licensed under the Oculus VR Rift SDK License Version 3.1 (the "License");
+Licensed under the Oculus VR Rift SDK License Version 3.2 (the "License");
you may not use the Oculus VR Rift SDK except in compliance with the License,
which is provided at the time of installation or download, or which
otherwise accompanies this software in either electronic or hard copy form.
You may obtain a copy of the License at
-http://www.oculusvr.com/licenses/LICENSE-3.1
+http://www.oculusvr.com/licenses/LICENSE-3.2
Unless required by applicable law or agreed to in writing, the Oculus VR SDK
distributed under the License is distributed on an "AS IS" BASIS,
@@ -43,6 +43,7 @@ Socket::Socket() :
BerkleyBindParameters::BerkleyBindParameters() :
Port(0),
+ Address(),
blockingTimeout(0x7fffffff)
{
}
@@ -52,6 +53,8 @@ BerkleyBindParameters::BerkleyBindParameters() :
BerkleySocket::BerkleySocket() :
TheSocket(INVALID_SOCKET)
+ //TimeoutUsec(0) // Initialized by SetBlockingTimeout
+ //TimeoutSec(0) // "
{
SetBlockingTimeout(1000);
}
@@ -76,11 +79,13 @@ UDPSocketBase::UDPSocketBase()
// TCPSocketBase
TCPSocketBase::TCPSocketBase()
+ : IsListenSocket(false)
{
Transport = TransportType_TCP;
}
TCPSocketBase::TCPSocketBase(SocketHandle handle)
+ : IsListenSocket(false)
{
TheSocket = handle;
}