http://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/reference/ip__tcp/socket.html
Boost::asio::ip::tcp::socket does have an option where one can set the permission of allowing the broadcast message. So my question is, is broadcasting possible via Boost Asio TCP Socket?? If yes, any help in this matter would be highly appreciated.
Thanks in advance.
the TCP protocol does not support broadcasting, for that you should use UDP.
If you check the boost source code: http://www.boost.org/doc/libs/1_57_0/boost/asio/socket_base.hpp
they have some documentation concerned this:
In short, instead of using a tcp socket, switch to udp, just read about it before, as delivery of packets won;'t be guaranteed.