Files
Np_Term/include/socket/udp_socket.h

17 lines
257 B
C++

#pragma once
#include "socket.h"
namespace Network {
struct Address;
class UDPSocket : public Socket {
public:
using Socket::init;
using Socket::Socket;
int init(int domain);
int connect(Network::Address& serveraddr);
};
} // namespace Socket