{"id":20754124,"url":"https://github.com/chandima2000/file-transfer-program-using-c-and-tcp-socket-programming","last_synced_at":"2025-06-25T06:01:51.068Z","repository":{"id":221103244,"uuid":"753450085","full_name":"chandima2000/File-Transfer-Program-using-C-and-TCP-Socket-Programming","owner":"chandima2000","description":"This project implements a simple file-transfer program in C using TCP socket programming.","archived":false,"fork":false,"pushed_at":"2024-02-06T06:40:57.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T15:27:34.297Z","etag":null,"topics":["c","socket-programming","tcp-socket"],"latest_commit_sha":null,"homepage":"","language":"C","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/chandima2000.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}},"created_at":"2024-02-06T06:24:40.000Z","updated_at":"2024-02-06T06:42:23.000Z","dependencies_parsed_at":"2024-02-06T07:48:19.057Z","dependency_job_id":null,"html_url":"https://github.com/chandima2000/File-Transfer-Program-using-C-and-TCP-Socket-Programming","commit_stats":null,"previous_names":["chandima2000/file-transfer-program-using-c-and-tcp-socket-programming"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chandima2000/File-Transfer-Program-using-C-and-TCP-Socket-Programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandima2000%2FFile-Transfer-Program-using-C-and-TCP-Socket-Programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandima2000%2FFile-Transfer-Program-using-C-and-TCP-Socket-Programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandima2000%2FFile-Transfer-Program-using-C-and-TCP-Socket-Programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandima2000%2FFile-Transfer-Program-using-C-and-TCP-Socket-Programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandima2000","download_url":"https://codeload.github.com/chandima2000/File-Transfer-Program-using-C-and-TCP-Socket-Programming/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandima2000%2FFile-Transfer-Program-using-C-and-TCP-Socket-Programming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261816050,"owners_count":23213838,"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":["c","socket-programming","tcp-socket"],"created_at":"2024-11-17T09:16:15.010Z","updated_at":"2025-06-25T06:01:51.029Z","avatar_url":"https://github.com/chandima2000.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File-Transfer-Program-using-C-and-TCP-Socket-Programming\n\nThis project implements a simple file-transfer program in C using TCP socket programming. It consists of two parts: a client and a server. The program is designed to work on UNIX-based systems such as Linux and Ubuntu.\n\n## Features\n- Client-Server Architecture: The project is divided into a client and a server, enabling file transfer between the two.\n\n- TCP Socket Programming: Utilizes TCP (Transmission Control Protocol) for reliable and connection-oriented communication.\n\n## Getting Started\n### Prerequisites\n- C Compiler\n- UNIX-based system (Linux, Ubuntu)\n\n### Usage\n\n1. Compile the Code:\n#### `gcc client.c -o client`\n#### `gcc server.c -o server`\n\n2. Run the Server:\n#### `./server \u003cport_number\u003e`\n\n3. Run the Client:\n#### `./client \u003cfilename\u003e \u003cserver_IP_address\u003e \u003cport_number\u003e`\n\n## File Descriptions\n#### client.c: Code for the client-side of the file transfer.\n\n#### server.c: Code for the server-side of the file transfer.\n\n### How it Works\n- The server listens on a specified port.\n- The client connects to the server, reads a file, and sends it to the server.\n- The server receives the file and saves it as \"Greet_received.txt.\"\n## Contributing\nFeel free to contribute to the project by opening issues or pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandima2000%2Ffile-transfer-program-using-c-and-tcp-socket-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandima2000%2Ffile-transfer-program-using-c-and-tcp-socket-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandima2000%2Ffile-transfer-program-using-c-and-tcp-socket-programming/lists"}