Unmodified upstream source from https://github.com/Raizo62/vwifi Commit: 4a9842e "CMakeLists.txt : VERSION = 7.0" Simulator of WiFi (802.11) interfaces to communicate between several Virtual Machines via mac80211_hwsim + TCP relay. License: Apache-2.0
21 lines
490 B
C++
21 lines
490 B
C++
#ifndef _CWIFISERVERVTCP_H_
|
|
#define _CWIFISERVERVTCP_H_
|
|
|
|
#include "csocketserverfunctionvtcp.h"
|
|
#include "cwifiserver.h"
|
|
|
|
class CWifiServerVTCP : public CWifiServer, public CSocketServerFunctionVTCP
|
|
{
|
|
public:
|
|
|
|
CWifiServerVTCP(CListInfo<CInfoSocket>* infoSockets, CListInfo<CInfoWifi>* infoWifis, CListInfo<CInfoWifi>* infoWifisDeconnected);
|
|
|
|
private :
|
|
|
|
bool _Listen(TDescriptor& master, TPort port) override;
|
|
|
|
TDescriptor _Accept(TDescriptor master, TCID& cid) override;
|
|
};
|
|
|
|
#endif
|