aboutsummaryrefslogtreecommitdiffstats
path: root/LibOVR/Src/Net/OVR_Socket.cpp
diff options
context:
space:
mode:
authorBrad Davis <[email protected]>2014-10-24 12:56:30 -0700
committerBrad Davis <[email protected]>2014-10-24 12:56:30 -0700
commit496894ecced1b0a4ae5ab176902bbd0f43a31ed1 (patch)
tree8b7d4be1fc8508253d399d98da6143212ceb8f3c /LibOVR/Src/Net/OVR_Socket.cpp
parent911239601768bacf9420ab9cfeffed7e861844ac (diff)
Updating to 0.4.3 SDK0.4.3-official
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;
}