Skip to content

abhishekMuge/TCP-Server-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Run Step 1: Start the TCP Server

bash
cd TCPServer
dotnet run

Server Startup Process:

  1. Enter port number (press Enter for default 8080)
  2. Server starts listening for connections
  3. Server displays "Waiting for client connections..."
  4. Press 'q' to quit the server Sample Output:
TCP Server Application
Enter port number (default 8080): 8080
Server started on port 8080
Waiting for client connections...

Step 2: Start TCP Client(s)

bash
# In a new terminal/command prompt
cd TCPClient
dotnet run

Client Startup Process:

  1. Enter server IP address (press Enter for localhost)
  2. Enter server port (press Enter for default 8080)
  3. Client connects and shows available commands
  4. Start sending messages Sample Output:
TCP Client Application
Enter server IP address (default localhost): 
Enter server port (default 8080): 
Connected to server localhost:8080

Available commands:
- Send messages like: SetA-Two, SetB-Four, etc.
- Type 'help' to see this menu again
- Type 'quit' to disconnect and exit
- Type 'status' to check connection status

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages