Sends data to the specified computer.
Namespace:
SGP.XUtilityAssembly: SGP.XUtility (in SGP.XUtility.dll)
Version: 1.2.3019.18718
Syntax
C# |
---|
public static bool SendTo( string data, string serverOrIP, int remotePort, out string errorMessage ) |
Parameters
- data
- Type: System..::.String
The data to be sent.
- serverOrIP
- Type: System..::.String
The computer name or IP address.
- remotePort
- Type: System..::.Int32
The remote port on the computer serverOrIP.
- errorMessage
- Type:
System..::.String
%
The error message if the operation has failed.