createConnection method
See official documentation for possible signatures:
Implementation
external Socket createConnection(arg1, [arg2, arg3]);
See official documentation for possible signatures:
external Socket createConnection(arg1, [arg2, arg3]);