载入中...
搜索中...
未找到
UdpSocket.h
浏览该文件的文档.
In-memory byte buffer implementing eve::Data (ref-counted).
Definition ByteData.h:11
Network module: TCP/UDP/HTTP factories, background worker, and completion event plumbing....
Definition Network.h:30
UDP socket backed by Poco::Net; supports connect/bind and datagram send.
Definition UdpSocket.h:24
bool sendTo(eve::data::ByteData *data, std::string host, uint16_t port)
Sends a datagram to an explicit host:port.
Definition UdpSocket.cpp:70
Poco::Net::DatagramSocket * datagram()
Internal: underlying Poco datagram socket.
Definition UdpSocket.cpp:18
bool sendToString(std::string s, std::string host, uint16_t port)
Sends a string datagram to an explicit host:port.
Definition UdpSocket.cpp:94
bool sendString(std::string s)
Sends a string datagram to the connected peer.
Definition UdpSocket.cpp:123
bool connect(std::string host, uint16_t port)
Connects to a remote host:port (restricts send()).
Definition UdpSocket.cpp:47
bool send(eve::data::ByteData *data)
Sends a datagram to the connected peer.
Definition UdpSocket.cpp:100
Definition DebugAdapter.hpp:16
Definition ByteData.cpp:7
Definition Channel.cpp:12