keepalive
Using keepalive
===============
Based on a stackoverflow post (https://stackoverflow.com/questions/12248132/how-to-change-tcp-keepalive-timer-using-python-script)
.. code-block:: python
import socket, keepalive
# keepalive.set(socket, after_idle_sec=60, interval_sec=60, max_fails=5)
client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
keepalive.set(client_socket)
Changelog
=========
0.0.1: initial release (2023-07-12)
Raw data
{
"_id": null,
"home_page": "https://github.com/sfinktah/keepalive",
"name": "keepalive-socket",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Christopher Anderson",
"author_email": "sfinktah@github.spamtrak.org",
"download_url": "https://files.pythonhosted.org/packages/c6/74/9aea30abf7d68c0939d37b811557366070630100cc1beae019c568afb45e/keepalive-socket-0.0.1.tar.gz",
"platform": null,
"description": "keepalive\n\nUsing keepalive\n===============\n\nBased on a stackoverflow post (https://stackoverflow.com/questions/12248132/how-to-change-tcp-keepalive-timer-using-python-script)\n\n.. code-block:: python\n\n import socket, keepalive\n\n # keepalive.set(socket, after_idle_sec=60, interval_sec=60, max_fails=5)\n\n client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\n keepalive.set(client_socket)\n\nChangelog\n=========\n\n0.0.1: initial release (2023-07-12)\n\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "TBA",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/sfinktah/keepalive"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c6749aea30abf7d68c0939d37b811557366070630100cc1beae019c568afb45e",
"md5": "8dc08ec5a581a0e5fc7e267edc6a906d",
"sha256": "235c5b582d7d701cf4013eeb6b05ba2960a7852a521a4810ccc6f1b5625f311e"
},
"downloads": -1,
"filename": "keepalive-socket-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "8dc08ec5a581a0e5fc7e267edc6a906d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 2808,
"upload_time": "2023-07-12T08:19:54",
"upload_time_iso_8601": "2023-07-12T08:19:54.140344Z",
"url": "https://files.pythonhosted.org/packages/c6/74/9aea30abf7d68c0939d37b811557366070630100cc1beae019c568afb45e/keepalive-socket-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-12 08:19:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "sfinktah",
"github_project": "keepalive",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "keepalive-socket"
}