-
Notifications
You must be signed in to change notification settings - Fork 1
Client (API)
Nate the great edited this page Feb 22, 2018
·
3 revisions
- buffer_size |
int
| Whatever was passed intobuffer_size
(see below) - ip |
str
| Whatever was passed intoip
(see below) - port |
int
| Whatever was passed intoport
(see below) - running |
bool
| Set to False when created, Set to True when you callrun
, and when False, it stops therun
method - tasks |
queue.Queue
| Not used anymore
__init__(self, ip: str, port: int, buffer_size: int=2047, family: int=socket.AF_INET, type: int=socket.SOCK_STREAM, timeout=.5):
- ip |
str
| IP is the addr of the target computer, in which QServer is running on. - port |
int
| The port, that the target QServer is running on. - buffer_size |
int
| How many bytes of data it can read and send at a time. - family & type |
int
| The type of socket used for communication see the socket lib for details. - timeout |
number
| How long the socket will wait for more information (in seconds).
This is the same as quicknet.server.QServer.error_handler
Thank you for using quick-connect, made by Nathan Zilora