In this quick 9 minutes tutorial you will learn how to create a connection between a server that you create and one or multiple clients.
We need to know first a few things about the server.
First, the server has a bind() method which binds to a specific ip and port so it can listen to incoming requests.
Second, the server has a Listen() method which puts the server into a listen mode which allows the server to listen to
incoming connections.
Last we have accept and close() methods.
accept() : intiates a connection with the client.
close() : closes the connection with the client.
Github link for the code : https://github.com/BekBrace/network-p...
DEV profile : https://dev.to/bekbrace
Github profile: https://github.com/BekBrace