Calls socket() to create a TCP/IP socket, setting this.fd to the file descriptor.
true: make the socket nonblocking, false: make it blocking
the socket file descriptor on success or -1 on failure. On failure errno is set appropriately and this.fd is -1.
See Implementation
Calls socket() to create a TCP/IP socket, setting this.fd to the file descriptor.