CSocket Methods |
The CSocket type exposes the following members.
Name | Description | |
---|---|---|
accept |
Accept a new connection on a socket.
| |
bind |
Associate a local address with a socket.
| |
Close |
Disconnects the socket and closes it.
| |
connect |
Establish a connection of the socket instance to a peer.
| |
Destroy | **Missing documentation ** | |
DisConnect |
Shut down the current socket connection.
This disables sending/receiving on the socket, but does NOT close the socket.
Note that this function does NOT close the connection like it did in Visual Objects 2.5!
To close a socket you need to call cSocket:Close()!
| |
DisplayError |
Display error messages.
| |
GetLine |
Extract the first line from the socket data received via the current connection.
| |
GetLineFrom |
Wait for connection and extract first line from incoming data.
| |
GetLines | **Missing documentation ** | |
getpeername |
Get the address of the peer to which the socket is connected.
| |
GetRaw |
Receive all available data from a socket.
| |
GetRawText |
Receive all available data from a socket.
| |
getsockname |
Get the local name for a socket.
| |
InternetStatus | **Missing documentation ** | |
listen |
Establish a socket to listen for an incoming connection.
| |
SendLine |
Send data terminated by CRLF to the connected socket.
| |
SendLineTo |
Send data terminated by CRLF to a specific destination.
| |
SendRaw |
Send any data to the connected socket.
| |
SendRawText |
Send any data to the connected socket.
|