GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Anzo52/JavaTCP: Siomple TCP server and client written in Java

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TCPClient.java
TCPClient.java
 
 
TCPServer.java
TCPServer.java
 
 

Repository files navigation

JavaTCP

Simple TCP server and client written in Java.

Usage notes

To run, compile both of them. Then first run the server application and then run the Client application.

$ javac TCPServer.java TCPClient.java
$ java TCPServer
Server started
Waiting for a client...

Open a separate terminal:

$ java TCPClient
Connected

The server terminal will print:

Client accepted

Once connection is established, you can send a message. To end connection type Over Example:

Hello world!
Goodnight moon!
Over

You'll then get: Closing Connection

About

Siomple TCP server and client written in Java

Topics

clientjavajava-clientjava-client-serverjava-serverservertcptcp-clienttcp-client-servertcp-servertransfer-protocol

Resources

Readme
GPL-3.0 license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.