send method Null safety

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