mirror of
https://github.com/ChronosX88/Influence-cjdns.git
synced 2024-11-23 15:42:18 +00:00
The Network class header file has been updated.
This commit is contained in:
parent
33e436e330
commit
69e3a70d7b
@ -1,11 +1,16 @@
|
|||||||
#ifndef NETWORK_H
|
#ifndef NETWORK_H
|
||||||
#define NETWORK_H
|
#define NETWORK_H
|
||||||
|
|
||||||
|
#include "lib/json/json.hpp"
|
||||||
|
#include <QUdpSocket>
|
||||||
|
using json = nlohmann::json;
|
||||||
|
|
||||||
class network
|
class network
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
network();
|
send(QString str, QHostAddress ip);
|
||||||
|
private:
|
||||||
|
sendPing(QHostAddress ip);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // NETWORK_H
|
#endif // NETWORK_H
|
Loading…
Reference in New Issue
Block a user