source-engine/utils/vmpi/tcpsocket_helpers.h

22 lines
524 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef TCPSOCKET_HELPERS_H
#define TCPSOCKET_HELPERS_H
#ifdef _WIN32
#pragma once
#endif
#include "tcpsocket.h"
bool TCPSocket_Connect( ITCPSocket *pSocket, const CIPAddr *pAddr, double flTimeout );
ITCPSocket* TCPSocket_ListenForOneConnection( ITCPListenSocket *pSocket, CIPAddr *pAddr, double flTimeout );
#endif // TCPSOCKET_HELPERS_H