Photon Unity Networking 2 2.30

Public Member Functions | List of all members
PingMono Class Reference

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

Inherits 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 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

◆ StartPing()

override bool StartPing ( string  ip)
virtual

Sends a "Photon Ping" to a server.

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

Reimplemented from PhotonPing.