SocketError.setSock

Queries and resets errno and sets the exception parameters.

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

Parameters

msg string

message

file string

source code file name

line int

source code line

Return Value

Type: typeof(this)

this instance

Meta