This website uses cookies to improve our services and deliver relevant ads.
By interacting with this site, you agree to this use. For more information, see our Cookies Policy

ovr_Net_Connect

Connects to the peer with the specified user ID. This function returns immediately; once the connection is established, a ovrNotification_Networking_ConnectionStateChange message is enqueued. Can be called from any thread.

Note that ovr_Net_SendPacket() implicitly connects. However, it does not buffer messages in unreliable mode. ovr_Net_Connect() allows the application to delay sending messages until an actual connection is established.

This function does not return a value.

Parameters

ParameterDescription

peerID

Type: ovrID