(self)
return s
The factory method of SocketHandler is here overridden to create
        a UDP socket (SOCK_DGRAM).
The factory method of SocketHandler is here overridden to create
        a UDP socket (SOCK_DGRAM).
The factory method of SocketHandler is here overridden to create a UDP socket ( SOCK_DGRAM ) .
def makeSocket(self):
        """
        The factory method of SocketHandler is here overridden to create
        a UDP socket (SOCK_DGRAM).
        """
        if self.port is None:
            family = socket.AF_UNIX
        else:
            family = socket.AF_INET
        s = socket.socket(family, socket.SOCK_DGRAM)
        return s
def makeSocket ( self ) : if self . port is None : family = socket . AF_UNIX else : family = socket . AF_INET s = socket . socket ( family , socket . SOCK_DGRAM ) return s