{"id":2400,"date":"2019-06-06T12:29:43","date_gmt":"2019-06-06T11:29:43","guid":{"rendered":"https:\/\/ridgesolutions.ie\/?p=2400"},"modified":"2019-11-15T18:16:51","modified_gmt":"2019-11-15T17:16:51","slug":"boost-asio-simple-udp-send-packet-example","status":"publish","type":"post","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/","title":{"rendered":"Boost ASIO Simple UDP Send Packet Example"},"content":{"rendered":"<p><b>Update:<\/b> I have written a simple Fire-And-Forget wrapper class for sending datagrams via UDP can be found <a href=\"https:\/\/ridgesolutions.ie\/index.php\/2019\/11\/15\/fire-and-forget-wrapper-for-sending-of-simple-udp-data-using-boostasio-libraries\/\">here<\/a>.  It handles simple transmission use cases while hiding the (sometimes confusing) boost::asio details.  However, if you are interested in the details then read on!<\/p>\n<p>Boost.ASIO is great but if you don&#8217;t use it everyday it can be hard to remember how to use it to do even the simplest of things.  I have included below a sample of simply sending a packet via UDP (ipv4), see the function called send_message(), this example code aims to be as minimal as it can be:<\/p>\n<p>Those spouting software engineering dogma will often tell you to steer well clear of UDP for the usual, well understood reasons, but for a certain type of application where very low latency is important, it just can&#8217;t be beat!!<\/p>\n<pre>\r\n#include <boost\/asio.hpp>\r\n#include <string>\r\n\r\nusing namespace boost::asio;\r\n\r\n\/\/\r\n\/\/ Send a string via UDP to the specified destination\r\n\/\/ ip addresss at the specified port (point-to-point\r\n\/\/ not broadcast)\r\n\/\/\r\nbool send_udp_message(const std::string& message, const std::string& destination_ip,\r\n\t\t\t\t\t\tconst unsigned short port) {\r\n\tio_service io_service;\r\n\tip::udp::socket socket(io_service);\r\n\r\n\t\/\/ Create the remote endpoint using the destination ip address and\r\n\t\/\/ the target port number.  This is not a broadcast\r\n\tauto remote = ip::udp::endpoint(ip::address::from_string(destination_ip), port);\r\n\r\n\ttry {\r\n\t\r\n\t\t\/\/ Open the socket, socket's destructor will\r\n\t\t\/\/ automatically close it.\r\n\t\tsocket.open(boost::asio::ip::udp::v4());\r\n\r\n\t\t\/\/ And send the string... (synchronous \/ blocking)\r\n\t\tsocket.send_to(buffer(message), remote);\r\n\t\r\n\t} catch (const boost::system::system_error& ex) {\r\n\t\t\/\/ Exception thrown!\r\n\t\t\/\/ Examine ex.code() and ex.what() to see what went wrong!\r\n\t\treturn false;\r\n\t}\r\n\r\n\treturn true;\r\n}\r\n\r\n<\/pre>\n<p>This is the bare-bones code, no error reporting etc.  Also it won&#8217;t broadcast, to allow for broadcast you need to include the following two lines and supply a broadcast ip address when calling the function.  Be careful if broadcasting a lot of data as it can really overload &#038; mess-up network equipment!<\/p>\n<pre>\r\nsocket_base::broadcast option(true);\r\nsocket.set_option(option);\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Update: I have written a simple Fire-And-Forget wrapper class for sending datagrams via UDP can be found here. It handles simple transmission use cases while hiding the (sometimes confusing) boost::asio details. However, if you are interested in the details then read on! Boost.ASIO is great but if you don&#8217;t use it everyday it can be [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[301],"tags":[],"class_list":["post-2400","post","type-post","status-publish","format-standard","hentry","category-by-kevin-godden"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"A simple example of code using Boost ASIO to send a packet or message via UDP.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kevin Godden\"\/>\n\t<meta name=\"google-site-verification\" content=\"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Boost ASIO Simple UDP Send Packet Example\" \/>\n\t\t<meta property=\"og:description\" content=\"A simple example of code using Boost ASIO to send a packet or message via UDP.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-06-06T11:29:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-11-15T17:16:51+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Boost ASIO Simple UDP Send Packet Example\" \/>\n\t\t<meta name=\"twitter:description\" content=\"A simple example of code using Boost ASIO to send a packet or message via UDP.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#article\",\"name\":\"Boost ASIO Simple UDP Send Packet Example\",\"headline\":\"Boost ASIO Simple UDP Send Packet Example\",\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#articleImage\",\"width\":400,\"height\":81},\"datePublished\":\"2019-06-06T12:29:43+00:00\",\"dateModified\":\"2019-11-15T18:16:51+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#webpage\"},\"articleSection\":\"By Ridge Solutions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/#listItem\",\"name\":\"By Ridge Solutions\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/#listItem\",\"position\":2,\"name\":\"By Ridge Solutions\",\"item\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#listItem\",\"name\":\"Boost ASIO Simple UDP Send Packet Example\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#listItem\",\"position\":3,\"name\":\"Boost ASIO Simple UDP Send Packet Example\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/category\\\/by-kevin-godden\\\/#listItem\",\"name\":\"By Ridge Solutions\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/wp-content\\\/uploads\\\/2013\\\/09\\\/ridge_logo1.jpg\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#organizationLogo\",\"width\":400,\"height\":81},\"image\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/\",\"name\":\"Kevin Godden\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d2833f41e59a25cf2a9741a05ec383bfdd278762a5e0798a90940e7ab0a107a2?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kevin Godden\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#webpage\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/\",\"name\":\"Boost ASIO Simple UDP Send Packet Example\",\"description\":\"A simple example of code using Boost ASIO to send a packet or message via UDP.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/2019\\\/06\\\/06\\\/boost-asio-simple-udp-send-packet-example\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/index.php\\\/author\\\/kgodden\\\/#author\"},\"datePublished\":\"2019-06-06T12:29:43+00:00\",\"dateModified\":\"2019-11-15T18:16:51+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#website\",\"url\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/\",\"name\":\"Ridge Solutions, Software Development and Software Engineering, Ireland.\",\"description\":\"Some thoughts of a busy Computer Engineer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ridgesolutions.ie\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Boost ASIO Simple UDP Send Packet Example","description":"A simple example of code using Boost ASIO to send a packet or message via UDP.","canonical_url":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"Kyj52YLp6GOPA44PVBffo9fjW8rgWHYYRF0ZYjfy6ss","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#article","name":"Boost ASIO Simple UDP Send Packet Example","headline":"Boost ASIO Simple UDP Send Packet Example","author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/#articleImage","width":400,"height":81},"datePublished":"2019-06-06T12:29:43+00:00","dateModified":"2019-11-15T18:16:51+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#webpage"},"isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#webpage"},"articleSection":"By Ridge Solutions"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","position":1,"name":"Home","item":"https:\/\/www.ridgesolutions.ie","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/#listItem","name":"By Ridge Solutions"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/#listItem","position":2,"name":"By Ridge Solutions","item":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#listItem","name":"Boost ASIO Simple UDP Send Packet Example"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#listItem","position":3,"name":"Boost ASIO Simple UDP Send Packet Example","previousItem":{"@type":"ListItem","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/#listItem","name":"By Ridge Solutions"}}]},{"@type":"Organization","@id":"https:\/\/www.ridgesolutions.ie\/#organization","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","url":"https:\/\/www.ridgesolutions.ie\/","logo":{"@type":"ImageObject","url":"https:\/\/www.ridgesolutions.ie\/wp-content\/uploads\/2013\/09\/ridge_logo1.jpg","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#organizationLogo","width":400,"height":81},"image":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author","url":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/","name":"Kevin Godden","image":{"@type":"ImageObject","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d2833f41e59a25cf2a9741a05ec383bfdd278762a5e0798a90940e7ab0a107a2?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kevin Godden"}},{"@type":"WebPage","@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#webpage","url":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/","name":"Boost ASIO Simple UDP Send Packet Example","description":"A simple example of code using Boost ASIO to send a packet or message via UDP.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.ridgesolutions.ie\/#website"},"breadcrumb":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/#breadcrumblist"},"author":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"creator":{"@id":"https:\/\/www.ridgesolutions.ie\/index.php\/author\/kgodden\/#author"},"datePublished":"2019-06-06T12:29:43+00:00","dateModified":"2019-11-15T18:16:51+00:00"},{"@type":"WebSite","@id":"https:\/\/www.ridgesolutions.ie\/#website","url":"https:\/\/www.ridgesolutions.ie\/","name":"Ridge Solutions, Software Development and Software Engineering, Ireland.","description":"Some thoughts of a busy Computer Engineer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.ridgesolutions.ie\/#organization"}}]},"og:locale":"en_US","og:site_name":"Systems and Embedded Software Engineering, Ireland. | Some thoughts of a busy Computer Engineer","og:type":"article","og:title":"Boost ASIO Simple UDP Send Packet Example","og:description":"A simple example of code using Boost ASIO to send a packet or message via UDP.","og:url":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/","article:published_time":"2019-06-06T11:29:43+00:00","article:modified_time":"2019-11-15T17:16:51+00:00","twitter:card":"summary","twitter:title":"Boost ASIO Simple UDP Send Packet Example","twitter:description":"A simple example of code using Boost ASIO to send a packet or message via UDP."},"aioseo_meta_data":{"post_id":"2400","title":null,"description":"A simple example of code using Boost ASIO to send a packet or message via UDP.","keywords":[{"label":"udp","value":"udp"},{"label":"code","value":"code"},{"label":"boost.asio","value":"boost.asio"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-09-13 12:12:36","updated":"2025-07-15 23:22:44","seo_analyzer_scan_date":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/\" title=\"By Ridge Solutions\">By Ridge Solutions<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBoost ASIO Simple UDP Send Packet Example\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.ridgesolutions.ie"},{"label":"By Ridge Solutions","link":"https:\/\/www.ridgesolutions.ie\/index.php\/category\/by-kevin-godden\/"},{"label":"Boost ASIO Simple UDP Send Packet Example","link":"https:\/\/www.ridgesolutions.ie\/index.php\/2019\/06\/06\/boost-asio-simple-udp-send-packet-example\/"}],"_links":{"self":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/2400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/comments?post=2400"}],"version-history":[{"count":0,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/posts\/2400\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/media?parent=2400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/categories?post=2400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ridgesolutions.ie\/index.php\/wp-json\/wp\/v2\/tags?post=2400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}