Skip to content

sanskarjamadar/CN_Problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Star Badge Open Source Love

CN Problems

🛠️ Description

This repository contains CN Problems

⚙️ Completed Problems

1.Study of Linux Networking Commands:

Type the following commands on the terminal and take a snapshot of the output, paste it into a word file and write a short description of the command.

  1. ifconfig

  2. ip

  3. traceroute

  4. tracepath

  5. ping

  6. netstat

  7. nslookup

  8. dig

  9. route

  10. Host

  11. arp

  12. iwconfig

  13. curl

  14. wget

  15. telnet

  16. whois

  17. ifplugstatus

  18. nload

  19. mail

Subnetting :

With Class C subnet mask

Input from user- A) Enter the any / (slash) notation (/24 to /30) of the IPv4 subnet mask

Output to be displayed on the terminal/console:

Show the output on the terminal/console for the following:

  1. Subnet mask for entered / (slash) notation of the IPv4 subnet mask

  2. The maximum number of subnets

  3. Valid host address per subnet

Input from user-

B) Enter the valid IP address. (Input from user-User has to type on terminal/console)

Output to be displayed on the terminal/console:

Show the output on the terminal/console for the following

  1. The Network Id and Broadcast address for each subnet.

  2. Show the valid host address range with starting and ending addresses.

Build a simple client-server system, where you use the client to chat with a server. The protocol between the client and server is as follows.

The server is first started on a known port.
The client program is started (server IP and port are provided on the command line).
The client connects to the server and then asks the user for input. The user types his message on the terminal.
The user's input is sent to the server via the connected socket.
The server reads the user's input from the client socket. 
The client then reads the reply from the server.
The server must reply to the client.
The client asks the user for the next message to send to the server.

🌟 To Contribute

A chat room application in which each user first enters by giving his/her name and start sharing textual messages with all other users available in the chat room.

The user can see all the messages with the sender names (given at the start of entering into the chat room) with a current receiving time of the message.

When anybody leaves the chat room a message to all current chat applicants available in the chat room is able to see that the corresponding user left.

Every message from the user contains its receiving time as well.

Here the application is to be implemented like a multithreaded two-way communication program with necessary synchronization among the threads

🤖 Contributers

mr-sanskarjamadar mr-shitij mr-pranavchoudhari

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages