8000 Why asyncio.transport.write() function don`t send data until I use transport.close() or stop the event loop. · Issue #501 · python/asyncio · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
This repository was archived by the owner on Nov 23, 2017. It is now read-only.
Why asyncio.transport.write() function don`t send data until I use transport.close() or stop the event loop. #501
Open
@IcyCC

Description

@IcyCC

like this

    def data_received(self, data):
        
        resp = b'\x05' + struct.pack('!B', self.method)
        self.transport.write(resp)

in asyncio.Protocol

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0