{"id":30112364,"url":"https://github.com/dwidevelopes/simulation-server-and-clien","last_synced_at":"2026-02-11T14:31:20.147Z","repository":{"id":293079643,"uuid":"982883837","full_name":"DwiDevelopes/Simulation-Server-And-Clien","owner":"DwiDevelopes","description":"Simulation Server AND Clien Network","archived":false,"fork":false,"pushed_at":"2025-05-13T14:51:15.000Z","size":15490,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-10T06:22:39.006Z","etag":null,"topics":["clients","server","serverless","simulation"],"latest_commit_sha":null,"homepage":"","language":null,"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/DwiDevelopes.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-13T14:45:53.000Z","updated_at":"2025-05-13T18:01:56.000Z","dependencies_parsed_at":"2025-05-13T16:06:21.026Z","dependency_job_id":null,"html_url":"https://github.com/DwiDevelopes/Simulation-Server-And-Clien","commit_stats":null,"previous_names":["dwidevelopes/simulation-server-and-clien"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DwiDevelopes/Simulation-Server-And-Clien","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DwiDevelopes%2FSimulation-Server-And-Clien","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DwiDevelopes%2FSimulation-Server-And-Clien/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DwiDevelopes%2FSimulation-Server-And-Clien/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DwiDevelopes%2FSimulation-Server-And-Clien/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DwiDevelopes","download_url":"https://codeload.github.com/DwiDevelopes/Simulation-Server-And-Clien/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DwiDevelopes%2FSimulation-Server-And-Clien/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29335159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T14:07:45.431Z","status":"ssl_error","status_checked_at":"2026-02-11T14:07:45.080Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["clients","server","serverless","simulation"],"created_at":"2025-08-10T06:16:14.672Z","updated_at":"2026-02-11T14:31:20.129Z","avatar_url":"https://github.com/DwiDevelopes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Penjelasan Server dan Client\n\n## Pengertian Server\n\nServer adalah sebuah sistem komputer yang menyediakan layanan tertentu dalam sebuah jaringan. Server bertugas menerima permintaan (request) dari client, memprosesnya, dan mengirimkan respon (response) kembali ke client. Server biasanya memiliki spesifikasi hardware yang lebih tinggi dan berjalan secara terus-menerus untuk melayani banyak client sekaligus.\n\nContoh layanan server:\n- Web server (menyajikan halaman web)\n- Database server (menyimpan dan mengelola data)\n- File server (menyimpan dan membagikan file)\n\n## Pengertian Client\n\nClient adalah perangkat atau aplikasi yang meminta layanan atau data dari server. Client mengirimkan permintaan ke server, kemudian menerima dan menampilkan hasil dari server. Client bisa berupa komputer, smartphone, atau aplikasi tertentu.\n\nContoh client:\n- Browser (Google Chrome, Firefox)\n- Aplikasi email\n- Aplikasi mobile\n\n## Ilustrasi Server dan Client\n\n\u003cimg src =\"https://www.lawangtechno.com/wp-content/uploads/2023/04/Pengertian-Client-Server.jpg\"\u003e\n\nPada gambar di atas, terlihat beberapa client (komputer) yang terhubung ke satu server melalui jaringan. Setiap client dapat berkomunikasi dengan server untuk meminta layanan atau data.\n\n## Contoh Sederhana Komunikasi Server dan Client dengan Python\n\n### Server (Python)\n\n```python\nimport socket\n\nserver_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\nserver_socket.bind(('localhost', 12345))\nserver_socket.listen(1)\nprint(\"Server siap menerima koneksi...\")\n\nwhile True:\n    client_socket, addr = server_socket.accept()\n    print(f\"Koneksi dari {addr}\")\n    data = client_socket.recv(1024).decode()\n    print(f\"Pesan dari client: {data}\")\n    client_socket.send(\"Pesan diterima server\".encode())\n    client_socket.close()\n```\n\n### Client (Python)\n\n```python\nimport socket\n\nclient_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\nclient_socket.connect(('localhost', 12345))\nclient_socket.send(\"Halo server!\".encode())\ndata = client_socket.recv(1024).decode()\nprint(f\"Pesan dari server: {data}\")\nclient_socket.close()\n```\n\nPada contoh di atas, server menunggu koneksi dari client. Client mengirim pesan ke server, lalu server membalas pesan tersebut.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwidevelopes%2Fsimulation-server-and-clien","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdwidevelopes%2Fsimulation-server-and-clien","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdwidevelopes%2Fsimulation-server-and-clien/lists"}