Documentation

Connection RPC - Open Dev Kit Documentation

Open Dev Kit Documentation :: Networking :: Connection RPC

Networking.ConnectionRPC
Simplified connection with resources streaming and function callbacks (RPC)

Functions

Close ( )
Closes connection
Host ( Address String, Port Integer, Certificate String, Key String ) Boolean
Host a server connection allowing remote clients to connect
Connect ( Address String, Port Integer, Certificate String, Hostname String ) Boolean
Connects a client to a remote server
Send RPC ( Function API Node*, Parameters Stream, Metadata Stream Memory ) Boolean
Prepare Resource ( Resource Resource*, State Boolean )
Temporarily mutes and unmutes non-network-related formats and its object for network streaming

Properties

Clients Connection RPC* Array
a list of clients the server manages
Hosting Boolean
true if the connection is a hosting a server (true) or it is connected to one as a client (false)
Connected Boolean
true once a TCP connection has been made, but false after a connection has been lost
Can UDP Boolean
Received Message Connection Connection RPC*
last connection (the server or a client) that recieved its last RPC message; not thread-safe
Received Message Function API Node*
last RPC message; not thread-safe
Accepted Connection Connection RPC*
last client connection accepted by the server
Time Last Sent Float
amount of time that has gone by since last message was sent
Address IP String
relevant IP address of the connection (TCP socket namely)
Total Bytes Sent Long
Total Bytes Received Long

If you think anything is missing, please feel free to: submit documentation feedback on this page