Skip to content

asyncio is not working!Β #8

@ckninja2

Description

@ckninja2

I am using it on windows 10. this is from the test...

await loop.run_in_executor(self.executor, sock1.connect, ("127.0.0.1", self.port))
await loop.run_in_executor(self.executor, sock2.connect, ("127.0.0.1", self.port))

reader1, writer1 = await asyncio.open_connection(sock=sock1)
reader2, writer2 = await asyncio.open_connection(sock=sock2)

now this writes without error...
writer1.write(b"nice world")
await writer1.drain()

but the data is not arriving on this... it just waits indefinitely
received = await reader2.read(1024)

and when I do this,... well I found out πŸ˜’ data is just sitting here and circling around. it is not being sent.
received = await reader1.read(1024)

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