Home > other >  How do you connect to a server and login trough console in C ?
How do you connect to a server and login trough console in C ?

Time:11-02

So lets say I want to connect to a website and I want to login to the website without accessing it using a search engine. Can someone tell me how I should do that and what libraries to use using C ? Thanks.

CodePudding user response:

i.e. if you want to log into your gmail, you'll need Gmail's login API from their website.

Try and look in the communications sections of this website to find what you need : https://en.cppreference.com/w/cpp/links/libs

Once you've downloaded the most suitable library for you, do these steps:

  1. Make sure you have a valid internet / ethernet connection,
  2. Find the exact API call to login to the account,
  3. Make sure you have the correct authorisation to log into the account.
  4. You're connected.
  • Related