List of Socket methods: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
 
(4 intermediate revisions by 2 users not shown)
Line 6: Line 6:
<table class="wikitable">
<table class="wikitable">
<tr><th>Method</th><th>Description</th></tr>
<tr><th>Method</th><th>Description</th></tr>
<tr><td valign="top">[[Capture ? (Socket function)|Capture]]</td><td valign="top">Should print output be sent on the socket?</td></tr>
<tr><td valign="top">[[Capture (Socket function)|Capture]]</td><td valign="top">Should print output be sent on the socket?</td></tr>
<tr><td valign="top">[[Certificate (Socket function)|Certificate]]</td><td valign="top">Retrieve the SSL certificate</td></tr>
<tr><td valign="top">[[CertInfo (Socket function)|CertInfo]]</td><td valign="top">Retrieve a value from the SSL certificate</td></tr>
<tr><td valign="top">[[CertInfo (Socket function)|CertInfo]]</td><td valign="top">Retrieve a value from the SSL certificate</td></tr>
<tr><td valign="top">[[CertLevels (Socket function)|CertLevels]]</td><td valign="top">Number of levels of the SSL certificate</td></tr>
<tr><td valign="top">[[CertLevels (Socket function)|CertLevels]]</td><td valign="top">Number of levels of the SSL certificate</td></tr>
<tr><td valign="top">[[Certificate (Socket function)|Certificate]]</td><td valign="top">Retrieve the SSL certificate</td></tr>
<tr><td valign="top">[[Close (Socket function)|Close]]</td><td valign="top">Close this socket connection</td></tr>
<tr><td valign="top">[[Close (Socket function)|Close]]</td><td valign="top">Close this socket connection</td></tr>
<tr><td valign="top">[[ErrInfo (Socket function)|ErrInfo]]</td><td valign="top">Retrieve info about the most recent socket error</td></tr>
<tr><td valign="top">[[ErrInfo (Socket function)|ErrInfo]]</td><td valign="top">Retrieve info about the most recent socket error</td></tr>
Line 22: Line 22:
<tr><td valign="top">[[ReceiveAsynchronous (Socket function)|ReceiveAsynchronous]]</td><td valign="top">Receive zero or more bytes on this socket</td></tr>
<tr><td valign="top">[[ReceiveAsynchronous (Socket function)|ReceiveAsynchronous]]</td><td valign="top">Receive zero or more bytes on this socket</td></tr>
<tr><td valign="top">[[ReceivedFin (Socket function)|ReceivedFin]]</td><td valign="top">Test if received FIN on connection</td></tr>
<tr><td valign="top">[[ReceivedFin (Socket function)|ReceivedFin]]</td><td valign="top">Test if received FIN on connection</td></tr>
<tr><td valign="top">[[SSLOn (Socket function)|SSLOn]]</td><td valign="top">Turn on SSL processing</td></tr>
<tr><td valign="top">[[ReceiveWebSocket (Socket function)|ReceiveWebSocket]]</td><td valign="top">Receive Web Socket framed message</td></tr>
<tr><td valign="top">[[Send (Socket function)|Send]]</td><td valign="top">Send a string over this socket</td></tr>
<tr><td valign="top">[[Send (Socket function)|Send]]</td><td valign="top">Send a string over this socket</td></tr>
<tr><td valign="top">[[SendWebSocket (Socket function)|SendWebSocket]]</td><td valign="top">Send Web Socket framed message</td></tr>
<tr><td valign="top">[[SendWithLineEnd (Socket function)|SendWithLineEnd]]</td><td valign="top">Send a string plus line end character</td></tr>
<tr><td valign="top">[[SendWithLineEnd (Socket function)|SendWithLineEnd]]</td><td valign="top">Send a string plus line end character</td></tr>
<tr><td valign="top">[[ServerSocket (Socket function)|ServerSocket]]</td><td valign="top">Get a reference to the server socket</td></tr>
<tr><td valign="top">[[ServerSocket (Socket function)|ServerSocket]]</td><td valign="top">Get a reference to the server socket</td></tr>
<tr><td valign="top">[[Set (Socket function)|Set]]</td><td valign="top">Change a setting for this socket</td></tr>
<tr><td valign="top">[[Set (Socket function)|Set]]</td><td valign="top">Change a setting for this socket</td></tr>
<tr><td valign="top">[[SSLOn (Socket function)|SSLOn]]</td><td valign="top">Turn on SSL processing</td></tr>
<tr><td valign="top">[[TranIn (Socket function)|TranIn]]</td><td valign="top">Translate a remote=encoded string to internal</td></tr>
<tr><td valign="top">[[TranIn (Socket function)|TranIn]]</td><td valign="top">Translate a remote=encoded string to internal</td></tr>
<tr><td valign="top">[[TranOut (Socket function)|TranOut]]</td><td valign="top">Translate an internal-encoded string to remote</td></tr>
<tr><td valign="top">[[TranOut (Socket function)|TranOut]]</td><td valign="top">Translate an internal-encoded string to remote</td></tr>
<tr><td valign="top">[[URLEncode (Socket function)|URLEncode]]</td><td valign="top">Use escape sequences to encode special chars</td></tr>
<tr><td valign="top">[[URLEncode (Socket function)|URLEncode]]</td><td valign="top">Use escape sequences to encode special chars</td></tr>
<tr><td valign="top">[[WebSocket (Socket function)|WebSocket]]</td><td valign="top">Convert Web thread to WebSocket thread</td></tr>
</table>
</table>
</div>
</div>

Latest revision as of 17:24, 12 August 2019

The following are the available Socket class methods.

MethodDescription
CaptureShould print output be sent on the socket?
CertificateRetrieve the SSL certificate
CertInfoRetrieve a value from the SSL certificate
CertLevelsNumber of levels of the SSL certificate
CloseClose this socket connection
ErrInfoRetrieve info about the most recent socket error
GetSocketNumberSocket number of this socket
GetSocketObjectGet a socket object for the given socket number
InfoRetrieve information about the socket
NewOpen a new socket
NumSocket numbers of a set of selected sockets
OnResetJump to label when this socket resets
ReceiveReceive a string of bytes on this socket
ReceiveAndParseReceive bytes up to a given string
ReceiveAsynchronousReceive zero or more bytes on this socket
ReceivedFinTest if received FIN on connection
ReceiveWebSocketReceive Web Socket framed message
SendSend a string over this socket
SendWebSocketSend Web Socket framed message
SendWithLineEndSend a string plus line end character
ServerSocketGet a reference to the server socket
SetChange a setting for this socket
SSLOnTurn on SSL processing
TranInTranslate a remote=encoded string to internal
TranOutTranslate an internal-encoded string to remote
URLEncodeUse escape sequences to encode special chars
WebSocketConvert Web thread to WebSocket thread

See also