Basic networking library for message passing