Re: [Cppcms-users] Implementing UDP Support
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-11-15 18:52:16
|
>________________________________ > From: Dietrich Müller <die...@gm...> >To: cpp...@li... >Sent: Thursday, November 15, 2012 3:19 PM >Subject: [Cppcms-users] Implementing UDP Support > > >Hey, > >I think of changing my TCP code to UDP due to some performance considerations. > If you don't care about loosing or reordering of packets it is fine, other\ than that there is no much advantage of UDP over TCP in real life. >I saw in the tasklist for the next release that there will be a UDP socket. >How far is the development currently? It is still in task list :-) In any case if you need to coordinate some code that uses UDP into event loop it is not hard at all. Technically there is no problems to use UDP with booster::aio but you need to work with sockets directly + basic_io_device http://cppcms.com/cppcms_ref/1.0.2/classbooster_1_1aio_1_1basic__io__device.html But you will need to create file descriptor on your own and send/recive on your own. >Do you use the sourceforge repository as your development trunk, or do you also maintain a private repository? I use SF repository. http://cppcms.com/wikipp/en/page/cppcms_1x_build#Getting.The.Sources >Sincerely > Regards Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |