Photon Unity Networking v1.101

Public Member Functions | List of all members
PingMonoEditor 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 PingMonoEditor.Dispose ( )
virtual

Reimplemented from Photon.Realtime.PhotonPing.

◆ Done()

override bool PingMonoEditor.Done ( )
virtual

Reimplemented from Photon.Realtime.PhotonPing.

◆ StartPing()

override bool PingMonoEditor.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.