Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asyncio: get list of connected clients #75277

Closed
DmitryVinokurov mannequin opened this issue Aug 1, 2017 · 2 comments
Closed

asyncio: get list of connected clients #75277

DmitryVinokurov mannequin opened this issue Aug 1, 2017 · 2 comments
Labels
topic-asyncio type-feature A feature request or enhancement

Comments

@DmitryVinokurov
Copy link
Mannequin

DmitryVinokurov mannequin commented Aug 1, 2017

BPO 31094
Nosy @asvetlov, @1st1
PRs
  • bpo-31904 : skip test_cmd_line case for VxWorks doesn't support preexec #12648
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2017-12-19.06:20:46.161>
    created_at = <Date 2017-08-01.05:07:44.081>
    labels = ['type-feature', 'expert-asyncio']
    title = 'asyncio: get list of connected clients'
    updated_at = <Date 2019-04-17.15:57:11.590>
    user = 'https://bugs.python.org/DmitryVinokurov'

    bugs.python.org fields:

    activity = <Date 2019-04-17.15:57:11.590>
    actor = 'lzhao'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-12-19.06:20:46.161>
    closer = 'asvetlov'
    components = ['asyncio']
    creation = <Date 2017-08-01.05:07:44.081>
    creator = 'Dmitry Vinokurov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31094
    keywords = []
    message_count = 2.0
    messages = ['299598', '308616']
    nosy_count = 3.0
    nosy_names = ['asvetlov', 'yselivanov', 'Dmitry Vinokurov']
    pr_nums = ['12648']
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue31094'
    versions = ['Python 3.5']

    @DmitryVinokurov
    Copy link
    Mannequin Author

    DmitryVinokurov mannequin commented Aug 1, 2017

    Hi!

    I'm using python-opcua and wonder if it is possible to get list of clients connected to running server? I've asked such question in python-opcua repo FreeOpcUa/python-opcua#480 and developers redirected me here.

    Thanks in advance

    @DmitryVinokurov DmitryVinokurov mannequin added topic-asyncio type-feature A feature request or enhancement labels Aug 1, 2017
    @asvetlov
    Copy link
    Contributor

    This tracker is not the best place for questions about development *with* Python -- it is for questions for development *of* Python itself.
    Please use resources like StackOverflow next time.

    asyncio.Server.sockets is a list of connected socket objects -- but usually Protocol implementation handles a list of alive clients separately, protocol.connection_made() and protocol.connection_lost() allows to do it easy.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    topic-asyncio type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant