Python Network Programming #2: Server-Client Connection

Published: 20 September 2020
on channel: Bek Brace
37,395
562

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


Watch video Python Network Programming #2: Server-Client Connection online without registration, duration hours minute second in high quality. This video was added by user Bek Brace 20 September 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 37,395 once and liked it 562 people.