mirror of
https://github.com/rajkosto/mxoemu
synced 2026-08-14 02:26:05 -04:00
21 lines
No EOL
378 B
C++
21 lines
No EOL
378 B
C++
#ifndef _REMOTESOCKET_H
|
|
#define _REMOTESOCKET_H
|
|
|
|
#include <Sockets/UdpSocket.h>
|
|
|
|
|
|
class RemoteSocket : public UdpSocket
|
|
{
|
|
public:
|
|
RemoteSocket(ISocketHandler&);
|
|
~RemoteSocket();
|
|
|
|
void OnRawData(const char *,size_t,struct sockaddr *,socklen_t);
|
|
void Replay(const char *,size_t);
|
|
private:
|
|
|
|
CRITICAL_SECTION CriticalSection;
|
|
};
|
|
|
|
|
|
#endif // _REMOTESOCKET_H
|