pass in server to networking events