writeToSocket method

int writeToSocket(
  1. RawSocket socket,
  2. int start,
  3. int count
)

Writes up to count bytes to the socket from the buffer. Returns the number of bytes written.

Implementation

int writeToSocket(RawSocket socket, int start, int count) {
  return socket.write(_list, start, count);
}