mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-25 05:26:53 +01:00
16 lines
443 B
C++
16 lines
443 B
C++
|
#ifndef _CONTROLLERPATCHERNET_H_
|
||
|
#define _CONTROLLERPATCHERNET_H_
|
||
|
|
||
|
class ControllerPatcherNet{
|
||
|
friend class TCPServer;
|
||
|
friend class UDPServer;
|
||
|
private:
|
||
|
static int recvwait(int sock, void *buffer, int len);
|
||
|
static int recvbyte(int sock);
|
||
|
static int checkbyte(int sock);
|
||
|
static int sendwait(int sock, const void *buffer, int len);
|
||
|
static int sendbyte(int sock, unsigned char byte);
|
||
|
};
|
||
|
|
||
|
#endif
|