class_docstr: SocketClient
  Uses a socket connection to communicate with an instance of `SocketServer`.
  The socket server listens to two types of events. Those with a `g` prefix
  indicate a get-request, those with a `u` indicate a parameter update.
class_docstr_tok: ["SocketClient","Uses","a","socket","connection","to","communicate","with","an","instance","of","`","SocketServer","`",".","The","socket","server","listens","to","two","types","of","events",".","Those","with","a","`","g","`","prefix","indicate","a","get-request",",","those","with","a","`","u","`","indicate","a","parameter","update","."]
code: def __init__(self, port: int = 4000):
      self.port = port
  
imports: import abc
  import numpy
  import socket
  import pickle
  import urllib.request
  from ..utils.sockets import determine_master, send, receive
label_desc: Use image node_id 1 to create a new SocketClient object from inherited base classes: BaseParameterClient with example: obj = SocketClient(port)