simple-socket-client 1.5

Creator: bigcodingguy24

Last updated:

Add to Cart

Description:

simplesocketclient 1.5

Simple TCP socket client




Installation
Install it with pip:
$ pip install simple-socket-client

Or you can add it as dependency in requirements.txt file of your python application:
simple-socket-client~=1.5

Usage
from simple_socket_client import SimpleSocketClient

client = SimpleSocketClient('192.168.0.2', 6666)
client.connect(timeout=10)

client.send('Test'.encode()) # if you don't need an answer
answer = client.ask('Hi!'.encode())
print(answer.decode())

client.disconnect()

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.