I'm not too sure what good it will do you however. Clients don't need it to transmit to the server. I'm also not too sure what good this will do you. It is not clear who the return NetID will represent. If the intent is the cycle thru ID's by calling iteratively how do you tell it to start from the start of the list instead of from the last call.
All servers have a local client.
This is the name to be associated with that client. Calling this function is the act of starting a server. It is important to realize that one client will also be created for the server and will automatically join the newly created session. This client will work exactly like a normal one. This shuts down the server.