{"id":21523181,"url":"https://github.com/harismuneer/Check_In-Check_Out-System-UDP","last_synced_at":"2025-07-16T07:31:18.548Z","repository":{"id":108166876,"uuid":"164446954","full_name":"OSSpk/Check_In-Check_Out-System-UDP","owner":"OSSpk","description":"🙋‍♂️ A UDP based Check in/Check out System. In this system, the user/client is able to Check in and Check out from the system by sending a data packet from its host machine to the server.","archived":false,"fork":false,"pushed_at":"2024-11-22T11:56:43.000Z","size":28,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-22T12:36:48.447Z","etag":null,"topics":["attendance-system","c-client","c-network-programming","c-server","check-in-out","client-server","client-server-interaction","network-programming","networking-application","socket-client","socket-communication","socket-programming","socket-server","udp-protocol","udp-socket","udp-socket-programming","udp-tutorial"],"latest_commit_sha":null,"homepage":"https://github.com/harismuneer","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OSSpk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://www.cyfylabs.com"]}},"created_at":"2019-01-07T14:47:21.000Z","updated_at":"2024-11-22T11:56:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"c10db2b4-c96f-4d1f-9672-c9a2b2ad66d1","html_url":"https://github.com/OSSpk/Check_In-Check_Out-System-UDP","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSpk%2FCheck_In-Check_Out-System-UDP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSpk%2FCheck_In-Check_Out-System-UDP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSpk%2FCheck_In-Check_Out-System-UDP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OSSpk%2FCheck_In-Check_Out-System-UDP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OSSpk","download_url":"https://codeload.github.com/OSSpk/Check_In-Check_Out-System-UDP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226112968,"owners_count":17575438,"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":["attendance-system","c-client","c-network-programming","c-server","check-in-out","client-server","client-server-interaction","network-programming","networking-application","socket-client","socket-communication","socket-programming","socket-server","udp-protocol","udp-socket","udp-socket-programming","udp-tutorial"],"created_at":"2024-11-24T01:12:54.531Z","updated_at":"2025-07-16T07:31:18.540Z","avatar_url":"https://github.com/OSSpk.png","language":"C","funding_links":["https://www.cyfylabs.com"],"categories":[],"sub_categories":[],"readme":"# 🙋‍♂️ Check In/Check Out System using UDP\n\u003ca href=\"https://github.com/harismuneer\"\u003e\u003cimg alt=\"views\" title=\"Github views\" src=\"https://komarev.com/ghpvc/?username=harismuneer\u0026style=flat-square\" width=\"125\"/\u003e\u003c/a\u003e\n\n[![Open Source Love svg1](https://badges.frapsoft.com/os/v1/open-source.svg?v=103)](#)\n[![GitHub Forks](https://img.shields.io/github/forks/harismuneer/Check_In-Check_Out-System-UDP.svg?style=social\u0026label=Fork\u0026maxAge=2592000)](https://www.github.com/harismuneer/Check_In-Check_Out-System-UDP/fork)\n[![GitHub Issues](https://img.shields.io/github/issues/harismuneer/Check_In-Check_Out-System-UDP.svg?style=flat\u0026label=Issues\u0026maxAge=2592000)](https://www.github.com/harismuneer/Check_In-Check_Out-System-UDP/issues)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\u0026label=Contributions\u0026colorA=red\u0026colorB=black\t)](#)\n\n\nThis is a UDP based Check in/Check out System. In this system, the user is able to Check in and Check out from the system by sending a data packet from its host machine. For instance:\n\nUser/Client **must** send a message with the following format: \n\n**YY-AAAA-CI (For check in) (e.g., 12-4159-CI)**\n\nOr\n\n**YY-AAAA-CO (For check out) (e.g., 12-4159-CO)**\n\nwhere\n**(YY-AAAA is your roll number)**\n\nThe system/server must get the packet sent by the client and must process the packet accordingly.\n\n\n## UDP (User Datagram Protocol):\nUDP uses a simple **connectionless transmission model** with a minimum of protocol mechanism. With UDP, computer applications can send messages, referred to as datagrams, to other hosts on an Internet Protocol (IP) network without prior communications to set up special transmission channels or data paths. Following are its characteristics:\n\n**1.**\tThere is no guarantee of delivery, ordering, or duplicate protection.\n\n**2.**\tIdeal for network applications where we can tolerate data loss but want to achieve low latency.\n\n## Complete Workflow\nThe following cases are catered:-\n\n### Check in \n•\tMarks the in attendance of the client in a database of the students and returns a welcome message “Welcome Student YY-AAAA”\n\n•\tIf the user is already checked in it must send the message “You are already here.”\n\n### Check out\n\n•\tMarks the out attendance for the client from the student database and then fill the empty place in the database (e.g., if a student initially placed at place 5 has left then all the students above position 5 must come one position down to fill that position). The server must send the message “Good Bye Student YY-AAAA! Have a nice day.”\n\n•\tIf the user didn’t check in and sent the checkout packet, the server must return the message “You didn’t check in today. Contact System Administrator.”\n\n## Constraints\n•\tYou must print all the members present in the database each time client makes a request to check in or check out.\n\n•\tServer must not be restarted once started.\n\n## How to Run\nThe client. and server.c files are provided. Just compile each file using the following command on Linux terminal or Windows Bash and run it (For client, obviously replace the server.c filename with client.c). Make sure the server is running before running any client.\n\n``` gcc server.c -o server.out ```\n\n\n\u003chr\u003e\n\n\n\n## Author\nYou can get in touch with me on my LinkedIn Profile: [![LinkedIn Link](https://img.shields.io/badge/Connect-harismuneer-blue.svg?logo=linkedin\u0026longCache=true\u0026style=social\u0026label=Follow)](https://www.linkedin.com/in/harismuneer)\n\nYou can also follow my GitHub Profile to stay updated about my latest projects: [![GitHub Follow](https://img.shields.io/badge/Connect-harismuneer-blue.svg?logo=Github\u0026longCache=true\u0026style=social\u0026label=Follow)](https://github.com/harismuneer)\n\nIf you liked the repo then kindly support it by giving it a star ⭐ and share in your circles so more people can benefit from the effort.\n\n## Contributions Welcome\n[![GitHub Issues](https://img.shields.io/github/issues/harismuneer/Check_In-Check_Out-System-UDP.svg?style=flat\u0026label=Issues\u0026maxAge=2592000)](https://www.github.com/harismuneer/Check_In-Check_Out-System-UDP/issues)\n\nIf you find any bugs, have suggestions, or face issues:\n\n- Open an Issue in the Issues Tab to discuss them.\n- Submit a Pull Request to propose fixes or improvements.\n- Review Pull Requests from other contributors to help maintain the project's quality and progress.\n\nThis project thrives on community collaboration! Members are encouraged to take the initiative, support one another, and actively engage in all aspects of the project. Whether it’s debugging, fixing issues, or brainstorming new ideas, your contributions are what keep this project moving forward.\n\nWith modern AI tools like ChatGPT, solving challenges and contributing effectively is easier than ever. Let’s work together to make this project the best it can be! 🚀\n\n## License\n[![MIT](https://img.shields.io/cocoapods/l/AFNetworking.svg?style=style\u0026label=License\u0026maxAge=2592000)](../master/LICENSE)\n\nCopyright (c) 2018-present, harismuneer                                                        \n\n\u003c!-- PROFILE_INTRO_START --\u003e\n\n\u003chr\u003e\n\n\u003ch1\u003e \u003ca href=\"#\"\u003e\u003cimg src=\"https://media.giphy.com/media/hvRJCLFzcasrR4ia7z/giphy.gif\" alt=\"Waving hand\" width=\"28\"\u003e\u003c/a\u003e\nHey there, I'm \u003ca href=\"https://www.linkedin.com/in/harismuneer/\"\u003eHaris Muneer\u003c/a\u003e 👨🏻‍💻\n\u003c/h1\u003e\n\n\n\u003ca href=\"https://github.com/harismuneer\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/harismuneer\" alt=\"Total Github Stars\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/harismuneer?tab=followers\"\u003e\u003cimg src=\"https://img.shields.io/github/followers/harismuneer\" alt=\"Total Github Followers\"\u003e\u003c/a\u003e\n\n\u003chr\u003e\n\n- \u003cb\u003e🛠️ Product Builder:\u003c/b\u003e Agile Product Manager with 5+ years of hands-on experience delivering SaaS solutions across sales, recruiting, AI, social media, and public sector domains. Background in Computer Science, with a proven track record of scaling products from inception to $XXM+ ARR, launching 3 top-ranking tools on Product Hunt, and developing solutions adopted by 250+ B2B clients in 40+ countries.  \n \n- \u003cb\u003e🌟 Open Source Advocate:\u003c/b\u003e Passionate about making technology accessible, I’ve developed and open-sourced several software projects for web, mobile, desktop, and AI on my \u003ca href=\"https://github.com/harismuneer\"\u003eGitHub profile\u003c/a\u003e. These projects have been used by thousands of learners worldwide to enhance their skills and knowledge.\n\n- \u003cb\u003e📫 How to Reach Me:\u003c/b\u003e To learn more about my skills and work, visit my \u003ca href=\"https://www.linkedin.com/in/harismuneer\"\u003eLinkedIn profile\u003c/a\u003e. For collaboration or inquiries, feel free to reach out via \u003ca href=\"mailto:haris.muneer5@gmail.com\"\u003eemail\u003c/a\u003e.\n\n\u003chr\u003e\n\n\u003ch2 align=\"left\"\u003e🤝 Follow my journey\u003c/h2\u003e\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://www.linkedin.com/in/harismuneer\"\u003e\u003cimg title=\"Follow Haris Muneer on LinkedIn\" src=\"https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/harismuneer\"\u003e\u003cimg title=\"Follow Haris Muneer on GitHub\" src=\"https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.youtube.com/@haris_muneer?sub_confirmation=1\"\u003e\u003cimg title=\"Subscribe on YouTube\" src=\"https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white\"/\u003e\u003c/a\u003e \n  \u003ca href=\"mailto:haris.muneer5@gmail.com\"\u003e\u003cimg title=\"Email\" src=\"https://img.shields.io/badge/Gmail-D14836?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\n\u003c!-- PROFILE_INTRO_END --\u003e\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharismuneer%2FCheck_In-Check_Out-System-UDP","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharismuneer%2FCheck_In-Check_Out-System-UDP","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharismuneer%2FCheck_In-Check_Out-System-UDP/lists"}