summaryrefslogtreecommitdiff
path: root/utils/vmpi/tcpsocket_helpers.h
blob: 870e7e9a188b9655c47e505fbb9e96fd12e94b04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//========= 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