List of Socket methods: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
(Automatically generated page update) |
||
(2 intermediate revisions by the same user not shown) | |||
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">[[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> | ||
Line 30: | Line 32: | ||
<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 |