Skip to content

haby1/Basic-Server-Client-connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPCS371-ServerClient

Establishing a TCP connection between Server and Client.

How it works:

1- Run server.

2- Run client to establish connection with the server.

3- Client enters a letter to be searched in a String.

4- Server received letter.

5- Client enters a string.

6- Server receives string, then count how many time the letter chose by client is present in the string.

7- Server sends number of occuranses to client.

8- Client display number of occuranses, then ask user if they want to repeat the process with a different letter and string.

9- Loop from step (3).

10- Enter N to disconnect connection between Client/Server.

About

Establishing a TCP connection between Server and Client.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages