|
static IntPtr | egconnect ([MarshalAs(UnmanagedType.LPStr)] string address) |
|
static IntPtr | egconnectWithProtocol ([MarshalAs(UnmanagedType.LPStr)] string address, byte connectionProtocol) |
|
static IntPtr | egconnectWithProtocols ([MarshalAs(UnmanagedType.LPStr)] string address, byte connectionProtocol, [MarshalAs(UnmanagedType.LPStr)] string appID, [MarshalAs(UnmanagedType.LPStr)] string serializationProtocolString, byte serializationProtocolMajor, byte serializationProtocolMinor) |
|
static byte | eggetState (IntPtr pConnectionHandler) |
|
static void | egdisconnect (IntPtr pConnectionHandler) |
|
static uint | egservice (IntPtr pConnectionHandler) |
|
static bool | egsend (IntPtr pConnectionHandler, byte[] arr, uint size) |
|
static uint | egread (IntPtr pConnectionHandler, byte[] arr, ref uint size) |
|
delegate void | LogCallbackDelegate (IntPtr pUserData, int level, [MarshalAs(UnmanagedType.LPStr)] string msg) |
|
static void | egsetSocketLoggingCallback (IntPtr pConnectionHandler, IntPtr userData, LogCallbackDelegate callback) |
|
static bool | egsetSocketLoggingLevel (IntPtr pConnectionHandler, int level) |
|
static bool | eggetUsingIPv6 (IntPtr pConnectionHandler) |
|
| SocketNative (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 () |
|
| IPhotonSocket (PeerBase peerBase) |
|
void | HandleReceivedDatagram (byte[] inBuffer, int length, bool willBeReused) |
|
bool | ReportDebugOfLevel (DebugLevel levelOfMessage) |
|
void | EnqueueDebugReturn (DebugLevel debugLevel, string message) |
|
|
bool | PollReceive |
|
string | ConnectAddress |
| Address, as defined via a Connect() call. Including protocol, port and or path. More...
|
|
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...
|
|
readonly ConnectionProtocol | Protocol |
| The protocol for this socket, defined in constructor. More...
|
|
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] |
|