List of Socket methods: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
(Automatically generated page update) |
||
Line 7: | Line 7: | ||
<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">[[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">[[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">[[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> |
Revision as of 20:22, 11 May 2016
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 |
Send | Send a string over this socket |
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 |