Setup TCP Socket

        Setup a connection to a TCP Socket

        --
        @param  location:str    The Hostname / IP Address of the remote TCP Socket.
        @param  port:int        The TCP Port the remote Socket is listening on.
        @return <class 'socket._socketobject'>

def setup_tcp_socket(location, port):

    '''
        Setup TCP Socket

        Setup a connection to a TCP Socket

        --
        @param  location:str    The Hostname / IP Address of the remote TCP Socket.
        @param  port:int        The TCP Port the remote Socket is listening on.
        @return <class 'socket._socketobject'>
    '''

    clientsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    clientsocket.settimeout(timeout)
    clientsocket.connect((location, port))

    return clientsocket