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);