connect method

Socket connect(
  1. dynamic arg1, [
  2. dynamic arg2,
  3. dynamic arg3
])

See official documentation on possible signatures:

Implementation

external Socket connect(arg1, [arg2, arg3]);