Skip to content

symmetryinvestments/nanomsg-wrapper

 
 

Repository files navigation

D Language wrapper and bindings for nanomsg

  • Ported to Dlang (2014,2015,2016,2017) by Laeeth Isharc. Caveat emptor.
  • Modified by Atila Neves

Simple example

// server:
auto pullSock = NanoSocket(NanoSocket.Protocol.pull, BindTo("tcp://*:12345"));
auto bytes = pullSock.receive();

// client:
auto pushSock = NanoSocket(NanoSocket.Protocol.push, ConnectTo("tcp://localhost:12345));
pushSock.send([0, 1, 3, 4, 5]);

Generated documentation Low Level Examples Docs Code

Packages

No packages published

Languages

  • D 95.3%
  • Shell 2.7%
  • HTML 2.0%