Sends the text command to server.
Adds "\r\n" to the command.
Namespace: Lesnikowski.Client
Assembly: Mail (in Mail.dll)
Version: 2.7.2897.36617
Syntax
| C# |
|---|
public void Send( string command ) |
| Visual Basic (Declaration) |
|---|
Public Sub Send ( _ command As String _ ) |
| Visual C++ |
|---|
public: void Send ( String^ command ) |
Parameters
- command
- String
Text command to send.
Exceptions
| Exception | Condition |
|---|---|
| Lesnikowski.Client..::ServerException | An error occurred when accessing the socket. -or- The NetworkStream is closed. -or- There is a failure reading from the network. |
See Also
TcpTextClient Class
Lesnikowski.Client Namespace