Added networking code wrapper (for linux).