{"id":17028376,"url":"https://github.com/borysn/login-client-server---mysql-c-api","last_synced_at":"2025-04-23T17:42:35.736Z","repository":{"id":2713188,"uuid":"3707574","full_name":"borysn/Login-Client-Server---MySQL-C-API","owner":"borysn","description":"NOT FINAL...UPDATES SOON...Creating a login server using winsock libraries and mysql c api","archived":false,"fork":false,"pushed_at":"2012-04-01T00:19:06.000Z","size":1087,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T02:02:33.074Z","etag":null,"topics":[],"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/borysn.png","metadata":{"files":{"readme":"README","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}},"created_at":"2012-03-13T14:49:45.000Z","updated_at":"2022-09-21T15:31:30.000Z","dependencies_parsed_at":"2022-08-19T19:30:38.053Z","dependency_job_id":null,"html_url":"https://github.com/borysn/Login-Client-Server---MySQL-C-API","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/borysn%2FLogin-Client-Server---MySQL-C-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borysn%2FLogin-Client-Server---MySQL-C-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borysn%2FLogin-Client-Server---MySQL-C-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/borysn%2FLogin-Client-Server---MySQL-C-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/borysn","download_url":"https://codeload.github.com/borysn/Login-Client-Server---MySQL-C-API/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250482952,"owners_count":21437970,"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":[],"created_at":"2024-10-14T07:53:52.808Z","updated_at":"2025-04-23T17:42:35.718Z","avatar_url":"https://github.com/borysn.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"=====================================\n\n           Login a Client/Server\n\t\t      and MySQL C API\n\t\t\t  application.\n\t\t\t  \n\t\tBorys H.N.\n\t\t3.13.12 \n\t\t\n=====================================\n\t\nPre-Requisites! \n1) MySQL Server installed and running\n     !use supplied SQL to build Login.users DB and table\n\t !IF YOU DO NOT HAVE THE DB AND TABLE SETUP CORRECTLY \n\t  THE PROGRAM WILL FAIL! OBVS \n\t !IF YOU DO NOT HAVE MYSQL SERVER UP AND RUNNING \n\t  THE PROGRAM WILL EXIT REALLY QUICKLY! OBVS \n2) Visual C++ and or equivelant libraries to handle winsock exchanges. I am using \n   Windows Visual Studio C++ Express 2010 on a 64bit Windows Vista Machine. \n\n   \nInstructions...\n*once you've already done pre-requisites\n1) Create a solution with 2 projects, Client and Server\n2) Set Client dependency to Server, and have them both startup at the same time.\n3) Add code and compile!\n\t*\n\t**REMBER TO INCLUDE YOUR LOGIN INFO FOR THE MYSQL DB IN UsersManager.cpp\n\t**REMEBER TO EDIT SERVER NAME IN Server.cpp IF YOU NEED THAT CHANGED\n\t*\n4) Run Server!\n\t1. give it port number (same one to be used by Client!)\n\t2. start server (s), make it wait for a connection(w)\n5) Run Client!\n\t1. give it the server name (i.e. 127.0.0.1, localhost, 192.168.0.x)\n\t2. give it the port which the server listens on...\n\t3. If everything went succesfuly you should be able to press (c) and connect\n\t\tto the host. The host will assign the connection its own port number.\n\t4. press (m) to bring up the send message menu, and get that dialogue going! \n\t\nFor the future...\n(!)Server throws AV excpetion...\n(!)Encrypted logins for users in database (unencrypt by server) \n(!)Root auth only for server\n(!)encryt user name and password for MySQL DB (hard coded in UsersManager.cpp)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborysn%2Flogin-client-server---mysql-c-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborysn%2Flogin-client-server---mysql-c-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborysn%2Flogin-client-server---mysql-c-api/lists"}