Wrote basic networking facilities