List of Socket methods: Difference between revisions
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 | <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">[[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">[[ | <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.
Method | Description |
---|---|
Capture | Should print output be sent on the socket? |
Certificate | Retrieve the SSL certificate |
CertInfo | Retrieve a value from the SSL certificate |
CertLevels | Number of levels of the SSL certificate |
Close | Close this socket connection |
ErrInfo | Retrieve info about the most recent socket error |
GetSocketNumber | Socket number of this socket |
GetSocketObject | Get a socket object for the given socket number |
Info | Retrieve information about the socket |
New | Open a new socket |
Num | Socket numbers of a set of selected sockets |
OnReset | Jump to label when this socket resets |
Receive | Receive a string of bytes on this socket |
ReceiveAndParse | Receive bytes up to a given string |
ReceiveAsynchronous | Receive zero or more bytes on this socket |
ReceivedFin | Test if received FIN on connection |
ReceiveWebSocket | Receive Web Socket framed message |
Send | Send a string over this socket |
SendWebSocket | Send Web Socket framed message |
SendWithLineEnd | Send a string plus line end character |
ServerSocket | Get a reference to the server socket |
Set | Change a setting for this socket |
SSLOn | Turn on SSL processing |
TranIn | Translate a remote=encoded string to internal |
TranOut | Translate an internal-encoded string to remote |
URLEncode | Use escape sequences to encode special chars |
WebSocket | Convert Web thread to WebSocket thread |