Skip to content

asyncio: get list of connected clients #75277

Closed

Description

@DmitryVinokurov
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']

    Activity

    1. DmitryVinokurov commented on Aug 1, 2017

      DmitryVinokurovmannequin
      MannequinAuthor

      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

    2. added
      type-feature
      on Aug 1, 2017
    3. asvetlov commented on Dec 19, 2017

      @asvetlov
      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.

    4. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      topic-asynciotype-feature

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions