Documentation

Connection Raw - Open Dev Kit Documentation

Open Dev Kit Documentation :: Networking :: Connection Raw

Networking.ConnectionRaw
Raw TCP/UDP/TLS sockets

Enumerations

Connection Protocol

Functions

Import Certificate ( Certificate String ) Boolean
Imports X.509 certificate(s)
Import Key ( Key String ) Boolean
Imports X.509 private key
Connect ( Address String, Port Integer, Protocol Connection Protocol, Certificate String, Hostname String ) Boolean
Connects a client to a remote server
Close ( )
Closes connection
Host ( Address String, Port Integer, Protocol Connection Protocol, Certificate String, Key String ) Boolean
Host a server connection allowing remote clients to connect
Create ( Protocol Connection Protocol ) Boolean
Preapres the internal socket
Import Address ( Address String, Port Integer )
Imports host name and port and creates internal address handle if appropriate
Accept ( ) Connection Raw*
Accepts an incoming connection
Send Stream ( Data Stream, Metadata Stream Memory )
Queues a stream through the socket
Send String ( Data String, Metadata Stream Memory )
Queues a string through the socket

Properties

Hosting Boolean
true if the connection is acting as a server (true) or it is connected to one as a client (false)
Address Name String
relevant host name of socket
Address IP String
relevant IP address of socket
Port Integer
relevant port number of socket
Protocol Connection Protocol
Internet protocol in use
Listening Boolean
listening for TCP connections
Buffer Receive Stream Memory
queued buffer of data received
Status Receive Boolean
true when socket contains data to be read
Status Send Boolean
true when socket can have data written to it
Status Error Boolean
true when a socket gets an exception
Total Bytes Sent Long
Total Bytes Received Long

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