SendNetworkString()

Syntax

SendNetworkString(ConnectionID, String$)
Description
Send a string to the specified client. This command can be used by both client and server applications.

On the server side, 'ConnectionID' is the client which should receive this data. On the client side, 'ConnectionID' is returned by OpenNetworkConnection().

Note: There is no ReceiveNetworkString(), SendNetworkString() only provides a solution to quickly send strings. The string will be sent as raw data (without the terminating NULL character), so it can be received using ReceiveNetworkData(), after NetworkServerEvent() / NetworkClientEvent() reported 2 (=raw data received).

Supported OS

All

<- SendNetworkFile() - Network Index