Description

Dial connects a remote endpoint to the Socket. The function returns immediately, and an asynchronous goroutine is started to establish and maintain the connection, reconnecting as needed. If the address is invalid, then an error is returned.