A simple package for building servers
Project description
NETSTOCK
Code Example
import Netsock
# Server Side
def Stock():
try:
Server = Netstock.TCPserver('localhost', 4000)
Server.create()
Server.start_listener()
while (True):
Server.accept_all()
rb = Server.recv_bytes()
print(rb)
Server.disconnect_client()
except Exception as error:
print(error)
# Client Side
def clientStock():
Client = Netstock.TCPClient()
Client.connectToServer('localhost', 4000)
Client.sendMsg('Hello')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
Netstock-1.0-py3.11.egg
(10.3 kB
view details)
File details
Details for the file Netstock-1.0-py3.11.egg.
File metadata
- Download URL: Netstock-1.0-py3.11.egg
- Upload date:
- Size: 10.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b055a2194e55dd797908aae017f7d39475eebb3e9a1d51179f68cbc06df9929a
|
|
| MD5 |
035b6b6f854d7599d91a84e772d87aa9
|
|
| BLAKE2b-256 |
4957c08f036c9a4dbf9bca4df3184911ad4b8c29a2305c7b90574b34193a98e3
|