Skip to content

NazJaberi/net-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Net Cat

nc system command, is a command-line utility that reads and writes data across network connections using TCP or UDP. It is used for anything involving TCP, UDP, or UNIX-domain sockets, it is able to open TCP connections, send UDP packages, listen on arbitrary TCP and UDP ports and many more.

Starting the Server

To run the TCP Chat server, use the following command: go run .

net-cat ./TCPChat [host] [port]

  • [host] (optional): The host to bind the server to. Default is "localhost".
  • [port] (optional): The port number to listen on. Default is "8989".

Example

Run the server on the default host and port: ./TCPChat

Run the server on a custom host and port: ./TCPChat 0.0.0.0 9999

Connecting to the Chat

  1. Connect to the server using a TCP client, such as Telnet or netcat, or use the provided TCPChatClient binary.
  2. Enter your desired username when prompted.
  3. Start chatting with other connected users.

TCP Chat

TCP Chat is a streamlined chat server and client developed in Go, designed to facilitate real-time communication over TCP. It allows multiple users to connect simultaneously, offering unique identifiers for each participant and preserving a log of the conversation.

Features

  • Ability to establish a connection to the server using a designated host and port.
  • Each participant is assigned a distinct username.
  • Ongoing chat history which new participants can view upon joining.
  • Enables live communication among all connected users.
  • Supports up to 10 concurrent users.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages