Probably depends on which network API you go with, and what you actually need from it, as to how easy it is for you. I haven’t used it specifically, but PUN2 might be appropriate and lots of people seem to like it.