PowerTCP Emulation for .NET
Write(String) Method




String of data to send.
Sends data to the remote host.
Syntax
Public Overloads Function Write( _
   ByVal data As String _
) As Data
Dim instance As TcpBase
Dim data As String
Dim value As Data
 
value = instance.Write(data)
public Data Write( 
   string data
)
public: Data* Write( 
   string* data
) 
public:
Data^ Write( 
   String^ data
) 

Parameters

data
String of data to send.

Return Value

A Data object encapsulating the sent data. Returns null if the socket is closed.
Remarks
This method synchronously sends data to the remote host over an existing connection. It will block until a buffer is available to accept the data or SocketOption.SendTimeout has expired.
See Also

Reference

TcpBase Class
TcpBase Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic