Click or drag to resize

CSocket.GetLine Method

X#
Extract the first line from the socket data received via the current connection.

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD GetLine() AS STRING
Request Example View Source

Return Value

Type: String
String containing the received line of data, if successful; otherwise, NULL_STRING
Remarks
This method extracts the first line from input data.
Tip Tip
GetLine() can be used for TCP sockets only, because it assumes that a connection is already established.
Examples
See the CSocket:Accept() example.
See Also