This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// This is an automatic generated amalgamation of: | |
/// continuable version 4.0.0 (735697026b72a8f415d3443834cceeda9623780d) | |
/* | |
/~` _ _ _|_. _ _ |_ | _ | |
\_,(_)| | | || ||_|(_||_)|(/_ | |
https://github.com/Naios/continuable | |
v4.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// This is an automatic generated amalgamation of: | |
/// continuable version 4.0.0 (735697026b72a8f415d3443834cceeda9623780d) | |
/* | |
/~` _ _ _|_. _ _ |_ | _ | |
\_,(_)| | | || ||_|(_||_)|(/_ | |
https://github.com/Naios/continuable | |
v4.2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <boost/beast.hpp> | |
#include <boost/asio.hpp> | |
namespace ip = boost::asio::ip; | |
namespace http = boost::beast::http; | |
int main() { | |
boost::asio::thread_pool ioc; | |
ip::tcp::acceptor acceptor{ioc, ip::tcp::endpoint{ip::address::from_string("127.0.0.1"), 9999}}; | |
while(true) { | |
ip::tcp::socket socket{ioc}; | |
acceptor.accept(socket); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
via3.DDRA = 1; | |
via3.DDRB = 0xff; // output | |
via3.PCR = 1; // CA1: Independent interrupt input-negative edge | |
via2.DDRA = 0; // input | |
via2.DDRB = 0xff; // output | |
via2.PCR = 0x88; // CA & CB: Handshake output, negative active edge | |
bool moreBits = true; |
OlderNewer