def METHOD_NAME(interface, portchannel):
    # create sockets
    try:
        sockets = []
        for iface in portchannel['members']:
            s = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(ETH_P_IP))
            s.bind((iface, 0))
            s.settimeout(RCV_TIMEOUT)
            if iface == interface:
                exp_socket = s
            sockets.append(s)
    except Exception:
        sys.stderr.write("Unable to create socket. Check your permissions\n")
        sys.exit(1)
    return sockets, exp_socket