text: /*****************************************************************************
  *                                                                            *
  *  OpenNI 1.x Alpha                                                          *
  *  Copyright (C) 2012 PrimeSense Ltd.                                        *
  *                                                                            *
  *  This file is part of OpenNI.                                              *
  *                                                                            *
  *  Licensed under the Apache License, Version 2.0 (the "License");           *
  *  you may not use this file except in compliance with the License.          *
  *  You may obtain a copy of the License at                                   *
  *                                                                            *
  *      http://www.apache.org/licenses/LICENSE-2.0                            *
  *                                                                            *
  *  Unless required by applicable law or agreed to in writing, software       *
  *  distributed under the License is distributed on an "AS IS" BASIS,         *
  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  *
  *  See the License for the specific language governing permissions and       *
  *  limitations under the License.                                            *
  *                                                                            *
  *****************************************************************************/
  //---------------------------------------------------------------------------
  // Includes
  //---------------------------------------------------------------------------
  #include <XnOS.h>
  
  //---------------------------------------------------------------------------
  // Code
  //---------------------------------------------------------------------------
  XN_C_API XnStatus xnOSInitNetwork()
  {
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSShutdownNetwork()
  {
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSCreateSocket(const XnOSSocketType SocketType, const XnChar* cpIPAddress, const XnUInt16 nPort, XN_SOCKET_HANDLE* SocketPtr)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSCloseSocket(XN_SOCKET_HANDLE Socket)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSBindSocket(XN_SOCKET_HANDLE Socket)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSListenSocket(XN_SOCKET_HANDLE Socket)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSAcceptSocket(XN_SOCKET_HANDLE ListenSocket, XN_SOCKET_HANDLE* AcceptSocketPtr, XnUInt32 nMillisecsTimeout)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSConnectSocket(XN_SOCKET_HANDLE Socket, XnUInt32 nMillisecsTimeout)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSSetSocketBufferSize(XN_SOCKET_HANDLE Socket, const XnUInt32 nSocketBufferSize)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSSendNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSSendToNetworkBuffer(XN_SOCKET_HANDLE Socket, const XnChar* cpBuffer, const XnUInt32 nBufferSize, XN_SOCKET_HANDLE SocketTo)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSReceiveNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XnUInt32 nMicroSecondTimeout)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  
  XN_C_API XnStatus xnOSReceiveFromNetworkBuffer(XN_SOCKET_HANDLE Socket, XnChar* cpBuffer, XnUInt32* pnBufferSize, XN_SOCKET_HANDLE* SocketFrom)
  {
  	XN_IMPLEMENT_OS;
  	return (XN_STATUS_OK);
  }
  