{"id":20903804,"url":"https://github.com/suyashsingh/python-sockets","last_synced_at":"2026-05-13T16:32:51.501Z","repository":{"id":204161431,"uuid":"264901051","full_name":"suyashsingh/python-sockets","owner":"suyashsingh","description":"Python Socket Programming","archived":false,"fork":false,"pushed_at":"2020-05-18T16:49:55.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-19T13:53:02.345Z","etag":null,"topics":["python3","socket","socket-client","socket-programming","socket-server"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suyashsingh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-05-18T10:08:34.000Z","updated_at":"2023-06-20T13:06:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"19bb0372-ba30-4b41-8317-ae7f9d698fc9","html_url":"https://github.com/suyashsingh/python-sockets","commit_stats":null,"previous_names":["suyashsingh/python-sockets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashsingh%2Fpython-sockets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashsingh%2Fpython-sockets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashsingh%2Fpython-sockets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyashsingh%2Fpython-sockets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suyashsingh","download_url":"https://codeload.github.com/suyashsingh/python-sockets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243294044,"owners_count":20268182,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python3","socket","socket-client","socket-programming","socket-server"],"created_at":"2024-11-18T13:15:01.278Z","updated_at":"2025-12-27T21:03:29.048Z","avatar_url":"https://github.com/suyashsingh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# python-sockets\nPython Socket Programming\n\n\u003e Note: run all the programs in *Python3*. Some of them might run on *Python2* as\n    well but don't get swayed away.\n1. **simple-client-server**\n    + Hello world client server application.\n    + `client.py` requests for 1024 bytes from the server and displays it on \n    console and exit.\n    + The server has a queue of 5 clients.\n    + When it gets client connection it prints the client details on the console,\n    sends message and closes the client socket connection and keeps listening\n    for other clients.\n    + Open two terminals and run: `python3 client.py` and `python3 server.py`\n\n2. **improved-client-server**\n    + The server program is same as that of **simple-client-server** changes are\n    in the client.\n    + The client earlier requested *1024 bytes* of data from the server now\n    instead it requests only *8 bytes* of data on one go. It keeps listening and\n    stiches together the data and displays it on the console.\n    + The essential condition is for the server to break connection with the \n    client so that the client knows it should not wait for more data.\n    + When server breaks connection client recievs *0 bytes* of data as an \n    indication of no more data.\n    + Running the program is same as **simple-client-server**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyashsingh%2Fpython-sockets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuyashsingh%2Fpython-sockets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyashsingh%2Fpython-sockets/lists"}