createConnection method

Socket createConnection(
  1. dynamic options, [
  2. void callback(
    1. dynamic error,
    2. dynamic stream
    )
])

Implementation

external Socket createConnection(options,
    [void Function(dynamic error, dynamic stream) callback]);