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

send abstract method

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

Send a datagram.

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

Source

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

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-io/RawDatagramSocket/send.html