dart / 2 / dart-io / rawdatagramsocket / send.html

send method

int send(
  1. List<int> buffer,
  2. InternetAddress address,
  3. int port
)

Sends a datagram.

Returns the number of bytes written. This will always be either the size of buffer or 0.

Implementation

int send(List<int> buffer, InternetAddress address, int port);

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-io/RawDatagramSocket/send.html