Skip to content

Andabe-Net/TCP-IP-Sockets-Program-Server-and-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

TCP-IP-Sockets-Program-Server-and-client

A socket is a way for most common operating systems to let programs communicate over the network. It enables applications (processes that are not related) on different machines that are connected by a network to exchange messages.

The sockets way of communication can work with any kind of network. However, IP is the most widely used network and the most common use of sockets.

There are a few steps involved in using sockets:

  1. Create the socket
  2. Identify the socket
  3. On the server, wait for an incoming connection
  4. On the client, connect to the server's socket
  5. Send and receive messages
  6. Close the socket

#Implimented in python, this exercise gave me a deeper understanding of socket mechanism, fundamentals of building servers, and for TCP/IP communication in particular. Love to see the server and client communicate from exploring an interface to the nework layer with code.

About

Server and client web sockets programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages