Skip to content

A simple half-duplex application where client establishes a connection with the server to send and receive messages at the same time

Notifications You must be signed in to change notification settings

poulomic11/half_duplex_tcp-ip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Half Duplex Chat using TCP/IP

A simple half-duplex application where client establishes a connection with the server to send and receive messages at the same time

Methodology

  1. The server takes care of 3 main functions during establishment of a connection
    a) s.bind()- binds the address to the socket. address contains hostname and port number.
    b) s.listen()- used to establish a TCP listener.
    c) s.accept()- accepts another TCP connection and waits for connection to be established.
  2. The client's job is to initiate a TCP server connection. Connection is succesfull when there is a TCP listener active on the server application.

About

A simple half-duplex application where client establishes a connection with the server to send and receive messages at the same time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages