Method Listen
Listen()
Start listening for incoming connections. Unlike Bind(NetworkEndpoint) which will always be called on clients and servers, this is only meant to be called on servers.
Declaration
int Listen()
Returns
Type | Description |
---|---|
int | 0 on success, a negative number on error. |