createServer method

Socket createServer([
  1. dynamic options,
  2. void connectionListener()
])

Implementation

external Socket createServer([options, void Function() connectionListener]);