Encapsulates the network i/o functionality for the realtime library. More...
Public Member Functions | |
SocketTcp (PeerBase npeer) | |
void | Dispose () |
override bool | Connect () |
override bool | Disconnect () |
override PhotonSocketError | Send (byte[] data, int length) |
used by PhotonPeer* More... | |
override PhotonSocketError | Receive (out byte[] data) |
void | ReceiveLoop () |
Endless loop, run in Receive Thread. More... | |
Public Member Functions inherited from ExitGames.Client.Photon.IPhotonSocket | |
IPhotonSocket (PeerBase peerBase) | |
void | HandleReceivedDatagram (byte[] inBuffer, int length, bool willBeReused) |
bool | ReportDebugOfLevel (DebugLevel levelOfMessage) |
void | EnqueueDebugReturn (DebugLevel debugLevel, string message) |
Additional Inherited Members | |
Public Attributes inherited from ExitGames.Client.Photon.IPhotonSocket | |
bool | PollReceive |
string | ConnectAddress |
Address, as defined via a Connect() call. Including protocol, port and or path. More... | |
Protected Member Functions inherited from ExitGames.Client.Photon.IPhotonSocket | |
bool | TryParseAddress (string url, out string address, out ushort port, out string urlProtocol, out string urlPath) |
Separates the given address into address (host name or IP) and port. Port must be included after colon! More... | |
Protected Attributes inherited from ExitGames.Client.Photon.IPhotonSocket | |
readonly ConnectionProtocol | Protocol |
The protocol for this socket, defined in constructor. More... | |
Properties inherited from ExitGames.Client.Photon.IPhotonSocket | |
IPhotonPeerListener | Listener [get] |
PhotonSocketState | State [get, protected set] |
bool | Connected [get] |
string | ServerAddress [get, protected set] |
Contains only the server's hostname (stripped protocol, port and or path). Set in IPhotonSocket.Connect(). More... | |
string | ProxyServerAddress [get, protected set] |
static string | ServerIpAddress [get, protected set] |
Contains the IP address of the previously resolved ServerAddress (or empty, if GetIpAddress wasn't used). More... | |
int | ServerPort [get, protected set] |
Contains only the server's port address (as string). Set in IphotonSocket.Connect(). More... | |
bool | AddressResolvedAsIpv6 [get, set] |
Where available, this exposes if the server's address was resolved into an IPv6 address or not. More... | |
string | UrlProtocol [get, protected set] |
string | UrlPath [get, protected set] |
Encapsulates the network i/o functionality for the realtime library.
|
inline |
|
inlinevirtual |
Reimplemented from ExitGames.Client.Photon.IPhotonSocket.
|
inlinevirtual |
Implements ExitGames.Client.Photon.IPhotonSocket.
|
inline |
|
inlinevirtual |
Implements ExitGames.Client.Photon.IPhotonSocket.
|
inline |
Endless loop, run in Receive Thread.
|
inlinevirtual |
used by PhotonPeer*
Implements ExitGames.Client.Photon.IPhotonSocket.