Method == member function (typical terminology). Heres the web page:
http://www.boost.org/doc/libs/1_51_0/doc/html/boost_asio/reference/ip__udp/socket.html
Cliff
From: Gheorghe Marinca
Sent: Tuesday, August 28, 2012 11:56 AM
To: asio-***@lists.sourceforge.net
Subject: Re: [asio-users] Boost asio - udp server
I do not find for some reason these non member functions in online documentation.. That is without creating a udp socket.
On Aug 28, 2012 9:12 PM, "Cliff Green" <***@codewrangler.net> wrote:
Use the UDP receive_from and send_to methods (the async versions have async in the method name).
Cliff
From: Gheorghe Marinca
Sent: Tuesday, August 28, 2012 10:43 AM
To: asio-***@lists.sourceforge.net
Subject: Re: [asio-users] Boost asio - udp server
How to I send a datagram back without constructing a socket? What API to use?
On Aug 28, 2012 7:07 PM, "Green, Cliff" <***@boeing.com> wrote:
You do not need to create a socket for the reply just send a datagram back to the source (sent from) address. This is a pretty common use case.
Cliff
From: Gheorghe Marinca [mailto:***@gmail.com]
Sent: Tuesday, August 28, 2012 3:01 AM
To: asio-***@lists.sourceforge.net
Subject: Re: [asio-users] Boost asio - udp server
So the way to go in this case is the remeber the sender endpoint ip::udp::endpoint and when I want to replay to a particular client just create a new udp socked constructed with sender endpoint ?
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
asio-users mailing list
asio-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asio-users
_______________________________________________
Using Asio? List your project at
http://think-async.com/Asio/WhoIsUsingAsio
------------------------------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
------------------------------------------------------------------------------
_______________________________________________
asio-users mailing list
asio-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asio-users
_______________________________________________
Using Asio? List your project at
http://think-async.com/Asio/WhoIsUsingAsio
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
asio-users mailing list
asio-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asio-users
_______________________________________________
Using Asio? List your project at
http://think-async.com/Asio/WhoIsUsingAsio
--------------------------------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
--------------------------------------------------------------------------------
_______________________________________________
asio-users mailing list
asio-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/asio-users
_______________________________________________
Using Asio? List your project at
http://think-async.com/Asio/WhoIsUsingAsio