A channel based network library