connect method

Socket connect(
  1. String address, [
  2. SocketOptions? options
])

Implementation

Socket connect(String address, [SocketOptions? options]) =>
    js_util.callMethod(this, 'connect', [address, options]);