Skip to content

Instantly share code, notes, and snippets.

View mycure's full-sized avatar

Julien Quintard mycure

View GitHub Profile

Keybase proof

I hereby claim:

  • I am mycure on github.
  • I am jmq (https://keybase.io/jmq) on keybase.
  • I have a public key ASCSv7IpTDoun0P5Iag3xQirP9Nye86p3ImG4aAFHaGOBwo

To claim this, I am signing this object:

#include <reactor/network/exception.hh>
#include <reactor/network/tcp-server.hh>
#include <reactor/scheduler.hh>
int main(int argc, char* argv[])
{
try
{
if (argc != 2)
{
// http://www.boost.org/doc/libs/1_60_0/doc/html/boost_asio/example/cpp11/echo/async_tcp_echo_server.cpp
//
// async_tcp_echo_server.cpp
// ~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Copyright (c) 2003-2015 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//