Files
vwifi/src/csocketclientvtcp.h
T
Guy Resheff 92df7a383a Upstream vwifi v7.0 (Raizo62/vwifi @ 4a9842e)
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
2026-03-08 08:19:45 -07:00

29 lines
436 B
C++

#ifndef _CSOCKETCLIENTVTCP_H_
#define _CSOCKETCLIENTVTCP_H_
#include <netinet/ip.h> // struct sockaddr_in
#include <linux/vm_sockets.h> // struct sockaddr_vm
#include "csocketclient.h"
class CSocketClientVTCP : public CSocketClient
{
private :
struct sockaddr_vm Server;
public :
CSocketClientVTCP();
void Init(TPort port);
bool _Configure() override;
bool _Connect() override;
int _GetID() override;
};
#endif