SocketError.setSock

Queries and resets errno and sets the exception parameters.

  1. typeof(this) setSock(int errnum, istring msg, istring file, int line)
  2. typeof(this) setSock(istring msg, istring file, int line)
    class SocketError
    typeof(this)
    setSock
    (,
    istring file = __FILE__
    ,
    int line = __LINE__
    )

Parameters

msg istring

message

file istring

source code file name

line int

source code line

Return Value

Type: typeof(this)

this instance

Meta