How juaneem-cmyk/mypproyecto1 works
This repository implements a small TCP client/server application with JSON-based client identification. The visible workflow is: a user enters a username, the client builds and sends an IDENTIFY message, the server parses it and replies with a RESPONSE, and the client displays the response. The server excerpt shows newline-delimited input buffering and identification handling, but does not establish general chat broadcasting. The README documents no additional capabilities, and server source excerpts are partial.
Main entry points: cliente.cpp TCP client · main.c TCP server · main.cpp Client entry · controlador.cpp Message controller
Components 6
Client
- Client entry
cliente/main.cpp - Message controller
cliente/controlador.cpp - TCP client
cliente/cliente.cpp
Server
- TCP server
servidor/main.c
JSON protocol
- Identification protocol
servidor/protocolo.c
Other components
- User
Connections 9
- User → Client entry: enters username
- Client entry → Message controller: builds identification
- Client entry → TCP client: connects and sends
- TCP client → TCP server: sends messages
- TCP server → Identification protocol: parses identification
- Identification protocol → TCP server: returns response JSON
- TCP server → TCP client: sends response
- TCP client → Message controller: dispatches received message
- Message controller → User: displays response