Photon Unity Networking v1.101

Public Member Functions | List of all members
Photon.Realtime.PingMono Class Reference

Uses C# Socket class from System.Net.Sockets (as Unity usually does). More...

Inherits Photon.Realtime.PhotonPing.

Public Member Functions

override bool StartPing (string ip)
 Sends a "Photon Ping" to a server. More...
 
override bool Done ()
 
override void Dispose ()
 

Additional Inherited Members

- Public Attributes inherited from Photon.Realtime.PhotonPing
string DebugString = ""
 
bool Successful
 

Detailed Description

Uses C# Socket class from System.Net.Sockets (as Unity usually does).

Incompatible with Windows 8 Store/Phone API.

Member Function Documentation

◆ Dispose()

override void Photon.Realtime.PingMono.Dispose ( )
virtual

Reimplemented from Photon.Realtime.PhotonPing.

◆ Done()

override bool Photon.Realtime.PingMono.Done ( )
virtual

Reimplemented from Photon.Realtime.PhotonPing.

◆ StartPing()

override bool Photon.Realtime.PingMono.StartPing ( string  ip)
virtual

Sends a "Photon Ping" to a server.

Parameters
ipAddress in IPv4 or IPv6 format. An address containing a '.' will be interpretet as IPv4.
Returns
True if the Photon Ping could be sent.

Reimplemented from Photon.Realtime.PhotonPing.