Siz Python-da socketlar kutubxonasidan foydalangan holda kiruvchi aloqalarni tinglashingiz mumkin. Masalan: ```python import socket HOST = "localhost" # Tinglash uchun manzil, IP PORT = 20000 bo'lishi mumkin # Portni tinglash uchun port (privilegsiz portlar > 1023), socket.socket.AF_INET, socket.SOCK_STREAM) s: s.bind (HOST, PORT)) s.listen (conn, addr = s.accept (print: conn) bilan: conn (f "{addr} dan qabul qilingan kiruvchi aloqa") True bo'lsa: data = conn.recv ({1024) bo'lmasa: data break (conn.sendall ({data)) ```
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence