closeSync method
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();
Closes the RawSynchronousSocket.
Once closeSync has been called, attempting to call readSync, readIntoSync, writeFromSync, remoteAddress, and remotePort will cause a SocketException to be thrown.
void closeSync();