Module: sockets

Classes

Accept

Connect

Read

len is max read size, BUT, if if there are buffers from ReadLine return them first.

ReadAll

ReadLine

len is the max size for a line

SendFile

Uses underling OS sendfile call or a regular memory copy operation if there is no sendfile. You can use this as a WriteAll if you specify the length. Usage:

Socket

Write

WriteAll