StdSocket Methods |
The StdSocket type exposes the following members.
Name | Description | |
---|---|---|
accept |
Accept a new connection on a socket.
(Inherited from CSocket.) | |
bind |
Associate a local address with a socket.
(Inherited from CSocket.) | |
Close |
Disconnects the socket and closes it.
(Inherited from CSocket.) | |
connect |
Establish a connection of the socket instance to a peer.
(Inherited from CSocket.) | |
Destroy | **Missing documentation ** (Inherited from CSocket.) | |
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()!
(Inherited from CSocket.) | |
DisplayError |
Display error messages.
(Inherited from CSocket.) | |
GetLine |
Extract the first line from the socket data received via the current connection.
(Inherited from CSocket.) | |
GetLineFrom |
Wait for connection and extract first line from incoming data.
(Inherited from CSocket.) | |
GetLines | **Missing documentation ** (Inherited from CSocket.) | |
getpeername |
Get the address of the peer to which the socket is connected.
(Inherited from CSocket.) | |
GetRaw |
Receive all available data from a socket.
(Inherited from CSocket.) | |
GetRawText |
Receive all available data from a socket.
(Inherited from CSocket.) | |
getsockname |
Get the local name for a socket.
(Inherited from CSocket.) | |
InternetStatus | (Overrides InternetStatus(Usual, Usual, Usual, Usual).) | |
listen |
Establish a socket to listen for an incoming connection.
(Inherited from CSocket.) | |
SendLine |
Send data terminated by CRLF to the connected socket.
(Inherited from CSocket.) | |
SendLineTo |
Send data terminated by CRLF to a specific destination.
(Inherited from CSocket.) | |
SendRaw |
Send any data to the connected socket.
(Inherited from CSocket.) | |
SendRawText |
Send any data to the connected socket.
(Inherited from CSocket.) |