cs.socketutils-20181228


توضیحات

some utilities for network sockets
ویژگی مقدار
سیستم عامل OS Independent
نام فایل cs.socketutils-20181228
نام cs.socketutils
نسخه کتابخانه 20181228
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Cameron Simpson
ایمیل نویسنده cs@cskk.id.au
آدرس صفحه اصلی https://bitbucket.org/cameron_simpson/css/commits/all
آدرس اینترنتی https://pypi.org/project/cs.socketutils/
مجوز -
Utility functions and classes for sockets. ## Function `bind_next_port(sock, host, base_port)` Bind the socket `sock` to the first free `(host,port)`; return the port. Parameters: * `sock`: open socket. * `host`: target host address. * `base_port`: the first port number to try. ## Class `OpenSocket` A file-like object for stream sockets, which uses os.shutdown on close.


نحوه نصب


نصب پکیج whl cs.socketutils-20181228:

    pip install cs.socketutils-20181228.whl


نصب پکیج tar.gz cs.socketutils-20181228:

    pip install cs.socketutils-20181228.tar.gz