MultithreadedTCP
Simple example of a multithreaded TCP server/client in python
Install / Use
/learn @edaniszewski/MultithreadedTCPREADME
Multithreaded Client & Server
To use, start the server in a terminal window, python multithreadedServer.py
In a second window, run the client, python multithreadedClient.py
Multithreaded TCP Server
usage: multithreadedServer.py [-h] [-p PORT]
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT Port over which to connect
Multithreaded TCP Client
usage: multithreadedClient.py [-h] [-r REQUESTS] [-w WORKERTHREADS] [-i IP] [-p PORT]
optional arguments:
-h, --help show this help message and exit
-r REQUESTS, --requests REQUESTS Total number of requests to send to server
-w WORKERTHREADS, --workerThreads WORKERTHREADS Max number of worker threads to be created
-i IP, --ip IP IP address to connect over
-p PORT, --port PORT Port over which to connect
This project was part of an assignment for the Distributed Systems class at Bennington College
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
