Click or drag to resize

StdSocket Class

X#
Inheritance Hierarchy
Object
  CSocket
    StdSocket

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 CLASS StdSocket INHERIT CSocket
Request Example View Source

The StdSocket type exposes the following members.

Constructors
  NameDescription
Public methodStdSocket
Initializes a new instance of the StdSocket class
Top
Properties
  NameDescription
Public propertyError
Numeric value representing the error code.
(Inherited from CSocket.)
Public propertyErrorMsg
String with error information.
(Inherited from CSocket.)
Public propertyRcvBufSize
**Missing documentation **
(Inherited from CSocket.)
Public propertySndBufSize
**Missing documentation **
(Inherited from CSocket.)
Public propertyStatus
Numeric value with the current status representing one of the following states:
(Inherited from CSocket.)
Public propertyTimeOut
Numeric value representing the time-out in milliseconds.
(Inherited from CSocket.)
Public propertyTimeOutRetries
**Missing documentation **
(Inherited from CSocket.)
Top
Methods
  NameDescription
Public methodCode exampleaccept
Accept a new connection on a socket.
(Inherited from CSocket.)
Public methodbind
Associate a local address with a socket.
(Inherited from CSocket.)
Public methodCode exampleClose
Disconnects the socket and closes it.
(Inherited from CSocket.)
Public methodCode exampleconnect
Establish a connection of the socket instance to a peer.
(Inherited from CSocket.)
Public methodDestroy
**Missing documentation **
(Inherited from CSocket.)
Public methodCode exampleDisConnect
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.)
Public methodDisplayError
Display error messages.
(Inherited from CSocket.)
Public methodCode exampleGetLine
Extract the first line from the socket data received via the current connection.
(Inherited from CSocket.)
Public methodCode exampleGetLineFrom
Wait for connection and extract first line from incoming data.
(Inherited from CSocket.)
Public methodGetLines
**Missing documentation **
(Inherited from CSocket.)
Public methodCode examplegetpeername
Get the address of the peer to which the socket is connected.
(Inherited from CSocket.)
Public methodCode exampleGetRaw
Receive all available data from a socket.
(Inherited from CSocket.)
Public methodCode exampleGetRawText
Receive all available data from a socket.
(Inherited from CSocket.)
Public methodCode examplegetsockname
Get the local name for a socket.
(Inherited from CSocket.)
Public methodInternetStatus (Overrides InternetStatus(Usual, Usual, Usual, Usual).)
Public methodCode examplelisten
Establish a socket to listen for an incoming connection.
(Inherited from CSocket.)
Public methodCode exampleSendLine
Send data terminated by CRLF to the connected socket.
(Inherited from CSocket.)
Public methodCode exampleSendLineTo
Send data terminated by CRLF to a specific destination.
(Inherited from CSocket.)
Public methodCode exampleSendRaw
Send any data to the connected socket.
(Inherited from CSocket.)
Public methodCode exampleSendRawText
Send any data to the connected socket.
(Inherited from CSocket.)
Top
See Also

Reference