send_socket#

ignis.utils.Utils.send_socket(sock: socket, message: str) str#

Send a message to the socket.

Parameters:
  • sock (socket) -- An instance of a socket.

  • message (str) -- The message to send.

Return type:

str

Returns:

The response from the socket.