closeSync method - RawSynchronousSocket class - dart:io library (original) (raw)
closeSync abstract method
void closeSync()
Closes the RawSynchronousSocket.
Once closeSync has been called, attempting to call readSync,readIntoSync, writeFromSync, remoteAddress, and remotePort will cause a SocketException to be thrown.
Implementation
void closeSync();