This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
client_list = {} | |
async def chat_room(reader, writer): | |
addr = writer.get_extra_info('peername') | |
print(f'got a connection from client at: {addr}') | |
data = await reader.read(100) | |
if not data: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alert(1); |