Interface ISocket
Declaration
Derived:
OdinNative.Unity.OdinSocket, OdinNative.Wrapper.Socket.Socket
Properties
Id
Socket id
Declaration
Handle
Declaration
Parent
Default value null indicates root or not set
Declaration
Room
Declaration
IsRemote
Indicates whether the socket was opened by the remote side (inbound)
Declaration
Methods
GetBaseSocket<T>()
Get the underlying OdinNative.Wrapper.Socket.Socket
Declaration
Returns
<T>: native wrapper socket
Type Parameters
T
OnSocket(IRoom, SocketMessageEventArgs)
Declaration
Parameters
| Type | Name |
|---|---|
| OdinNative.Wrapper.IRoom | room |
| OdinNative.Wrapper.Socket.SocketMessageEventArgs | args |
Events
OnMessageReceived
Odin socket received message
Declaration