W3cubDocs

/Dart 2

send 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.

Implementation

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/2.0.0/dart-io/RawDatagramSocket/send.html