udpSocket.h
Go to the documentation of this file.
16 typedef boost::function<void(const boost::system::error_code& error, const char* msg_recvd, std::size_t msg_bytes_recvd)> F_LISTEN;
21 typedef boost::function<void(const boost::system::error_code& error, const char* msg_sent, std::size_t msg_bytes_sent)> F_SEND;
100 bool send(boost::system::error_code& ec, std::string DestIp, unsigned short DestPort, const char* msg_content, size_t msg_bytes);
boost::function< void(const boost::system::error_code &error, const char *msg_recvd, std::size_t msg_bytes_recvd)> F_LISTEN
Definition: udpSocket.h:16
boost::function< void(const boost::system::error_code &error, const char *msg_sent, std::size_t msg_bytes_sent)> F_SEND
Definition: udpSocket.h:21
UDP Socket Class that allows to create a udp socket with custom listener and timeout for response...
Definition: udpSocket.h:33