A networking API