udpSocket.h File Reference
#include <iostream>
#include <string>
#include <boost/asio.hpp>
#include <boost/thread.hpp>
#include <boost/signals2.hpp>
Include dependency graph for udpSocket.h:

Go to the source code of this file.

Classes

class  UdpSocket
 UDP Socket Class that allows to create a udp socket with custom listener and timeout for response. More...
 

Typedefs

typedef boost::function< void(const boost::system::error_code &error, const char *msg_recvd, std::size_t msg_bytes_recvd)> F_LISTEN
 
typedef boost::function< void(const boost::system::error_code &error, const char *msg_sent, std::size_t msg_bytes_sent)> F_SEND
 
typedef std::vector< char > VC_DATA
 

Detailed Description

Typedef Documentation

typedef boost::function<void(const boost::system::error_code& error, const char* msg_recvd, std::size_t msg_bytes_recvd)> F_LISTEN

Listener handler signature

typedef boost::function<void(const boost::system::error_code& error, const char* msg_sent, std::size_t msg_bytes_sent)> F_SEND

Sender handler signature

typedef std::vector<char> VC_DATA

Type that defines the send buffer