adding the createNetworkServer function

But it's not working now.