Client.
send_message
Complete communication process. Connects to the Server, sends a message, gets the reply and closes the connection.
Server
message
message¶ (str) – Message for the Server.
OSError – Various socket errors, e.g. address or timeout
Reply from the server
str