Skip to content

JanNetoLlorens/Sockets_Xarxes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sockets Exercise

TCP

Server:

  • Host a server
  • Custom --> host name and server name
  • When launched there is waiting room to chat with the connected people
  • Numerous clients can join at the same time
  • You can see when a client joins the server

Client:

  • Connect to the server putting the IP address
  • Choose your name in the server
  • Chat with other in the server

UDP

Server:

  • Host a server
  • Show client connections to it
  • Ping the client if message received

Client:

  • Connect to UDP server
  • Send a message when it joins