class Socket

Included Modules

Defined in:

stdlib/socket.cr

Instance Method Summary

Instance methods inherited from module IO::Evented

evented_sendfile(limit : Int, errno_msg : String, &) : Int64 evented_sendfile

Instance Method Detail

def sendfile(file : IO::FileDescriptor, limit : Int) : Int64 #

Zero-copy implementation of sending limit bytes of file to the socket Returns the number of bytes sent


[View source]