
  [;1m-spec sendfile(Filename, Socket) ->[0m
  [;1m                  {ok, non_neg_integer()} |[0m
  [;1m                  {error, inet:posix() | closed | badarg | not_owner}[0m
  [;1m                  when Filename :: name_all(), Socket :: inet:socket().[0m

[;;4mSince[0m:
  OTP R15B

  Sends the file [;;4mFilename[0m to [;;4mSocket[0m. Returns [;;4m{ok, BytesSent}[0m
  if successful, otherwise [;;4m{error, Reason}[0m.
