{"id":30109070,"url":"https://github.com/droyder7/chat-application-using-socket-programming","last_synced_at":"2025-08-10T03:20:58.543Z","repository":{"id":213860259,"uuid":"242290080","full_name":"Droyder7/Chat-Application-using-Socket-Programming","owner":"Droyder7","description":"Chat Application using Socket Programming in C \u0026 Java. Client Server user level application, can be used to communicate between two connected systems.","archived":false,"fork":false,"pushed_at":"2020-02-22T12:08:04.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-12-23T19:27:36.410Z","etag":null,"topics":["c","socket","socket-programming","socket-server"],"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/Droyder7.png","metadata":{"files":{"readme":"README.txt","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}},"created_at":"2020-02-22T06:12:11.000Z","updated_at":"2023-12-23T19:27:39.237Z","dependencies_parsed_at":"2023-12-23T19:27:38.780Z","dependency_job_id":"b1cfbf21-cf8a-4fab-a08a-3d85dd1a18f8","html_url":"https://github.com/Droyder7/Chat-Application-using-Socket-Programming","commit_stats":null,"previous_names":["droyder7/chat-application-using-socket-programming"],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/Droyder7/Chat-Application-using-Socket-Programming","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Droyder7%2FChat-Application-using-Socket-Programming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Droyder7%2FChat-Application-using-Socket-Programming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Droyder7%2FChat-Application-using-Socket-Programming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Droyder7%2FChat-Application-using-Socket-Programming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Droyder7","download_url":"https://codeload.github.com/Droyder7/Chat-Application-using-Socket-Programming/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Droyder7%2FChat-Application-using-Socket-Programming/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269670120,"owners_count":24456810,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["c","socket","socket-programming","socket-server"],"created_at":"2025-08-10T03:20:53.525Z","updated_at":"2025-08-10T03:20:58.500Z","avatar_url":"https://github.com/Droyder7.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"                              =======================================================\n                                    CHAT APPLICATION USING SOCKET PROGRAMMING\n                              =======================================================\nThis is a client - server user-level application using Socket Programming in C \u0026 Java.\nServer accepts massages in form of strings from clients (even multiple\nstrings from each client) and can reply by sending server massages to the connected client.\n\nFor example:\nClient may send \"Hello Server\" and the server may reply with \"Hi Client\" and vice versa.\n\n\nBoth server and client(s) output's both sending \u0026 receiving strings on the terminal.The server and client processes can run on same or\ndifferent machines.\n\nHelper Functions:\n(1) void error(char *msg)\nTo report any kind of error along with the massage containing the cause of the error.\n\n=======================================================\n                          USAGE\n=======================================================\n\nUsage of Server in C:\n\nThe default PORT number of server is 1234\n\nTo connect to different PORT number, the PORT number is to be passed as command line argument while executing the server process.\n\nEx: ./server 11001\nPort is set to : 11001\n\nUsage of Client in C:\n\nThe default Server IP address is 127.0.0.1 (localhost) and PORT number is 1234 in client program.\nEx: ./client\nServer is set to : 127.0.0.1\n\nPort is set to : 1234\n\nTo connect to different IP address \u0026 PORT number of a server, the IP address and PORT number of server is to be passed as command line argument while executing the client process, .\n\nEx: ./client 172.16.4.12 11001\nServer is set to : 172.16.4.12\n\nPort is set to : 11001\n\n=======================================================\n                          OUTPUT\n=======================================================\n\nAt Client End:\nServer is set to : 127.0.0.1\n\nPort is set to : 1234\n\nEnter the message for Server : Hello Server\nMassage Sent!\n\nEnter the message for Server :\nMassage from Server : Hi Client\n\n\nAt Server End:\nPort is set to : 1234\n\nEnter a massage for client :\n\nMessage from Client: Hello Server\n\nHi Client\nMassage Sent!\n\n\n=======================================================\n                        NOTE\n=======================================================\n\n\nMultiple client processes can connect to the same server but not at the same time. When one client get disconnected then another client can connect to the server.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroyder7%2Fchat-application-using-socket-programming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroyder7%2Fchat-application-using-socket-programming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroyder7%2Fchat-application-using-socket-programming/lists"}