Socket.encoding

String encoding

Description

Sets or retrieves the name of the encoding used to transmit data.

Typical values are “ASCII”, “BINARY”, or “UTF-8”.