16 lines
337 B
C++
Executable File
16 lines
337 B
C++
Executable File
#pragma once
|
|
#include <XNCore/XNServiceObject_p.h>
|
|
#include <string>
|
|
#include <memory>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
#include <unistd.h>
|
|
|
|
struct XNUDPServicePrivate : public XNServiceObjectPrivate {
|
|
int udpSocket{-1};
|
|
std::string targetHost;
|
|
uint16_t targetPort{0};
|
|
uint16_t localPort{0};
|
|
};
|