import socket


def connect(host, port):
    """Connection
    
    Args:
        host(str): destination hostname
        port(int): destination port
    
    Returns:
        the created socket
    """
    # IPv4 address family over TCP
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect((host, port))
    print('Socket status after connection %s' % (s))
    return s