class_docstr: The ZMQ socket object
  
  To create a Socket, first create a Context::
  
      ctx = zmq.Context.instance()
  
  then call ``ctx.socket(socket_type)``::
  
      s = ctx.socket(zmq.ROUTER)
class_docstr_tok: ["The","ZMQ","socket","object","To","create","a","Socket",",","first","create","a","Context",":",":","ctx","=","zmq.Context.instance","(",")","then","call","``","ctx.socket","(","socket_type",")","``",":",":","s","=","ctx.socket","(","zmq.ROUTER",")"]
docstr: Shadow an existing libzmq socket
  
  address is the integer address of the libzmq socket
  or an FFI pointer to it.
  
  .. versionadded:: 14.1
docstr_tok: ["Shadow","an","existing","libzmq","socket","address","is","the","integer","address","of","the","libzmq","socket","or","an","FFI","pointer","to","it",".","..","versionadded",":",":","14.1"]
code: def shadow(cls, address):
      """Shadow an existing libzmq socket
  
      address is the integer address of the libzmq socket
      or an FFI pointer to it.
  
      .. versionadded:: 14.1
      """
      from zmq.utils.interop import cast_int_addr
  
      address = cast_int_addr(address)
      return cls(shadow=address)
  
imports: import errno
  import random
  import sys
  import warnings
  import zmq
  from zmq.backend import Socket
  from .poll import Poller
  from .None import constants
  from .attrsettr import AttributeSetter
  from zmq.error import ZMQError, ZMQBindError
  from zmq.utils import jsonapi
  from zmq.utils.strtypes import bytes, unicode, basestring
  from .constants import SNDMORE, ENOTSUP, POLLIN, int64_sockopt_names, int_sockopt_names, bytes_sockopt_names, fd_sockopt_names
label_desc: Use image node_id 6 for calling the Socket obj's underlying member method code with example usage: obj.shadow(cls, address) and returns: cls