Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

COMP 2133 - Sec. 1 Spring 2018 HW 2 Your second homework focuses on TCP/IP and network programming. Please follow the lectures to write programs

image text in transcribed

COMP 2133 - Sec. 1 Spring 2018 HW 2 Your second homework focuses on TCP/IP and network programming. Please follow the lectures to write programs using C/C++ 1. (a) A host in an organization has an IP address 150.32.64.34 and a subnet mask 255.255.240.0. What is the address of this subnet? What is the range of IP addresses that a host can have on this subnet? (b) A university has 150 LANs with 100 hosts in each LAN. Suppose the university has one Class B address. Design an appropriate subnet addressing scheme. 2. Using C/C++ and sock programming, write both the client and server programs to implement a task. You can choose the task by yourself (e.g.a chatting application between the server and the client, or a file transfer application between the server and the client, etc.) In the hardcopy, please write clearly what your server program and client programs do. Turn in both the hardcopy and softcopy of your source code, including all cpp Also attach the original plaintext that you find out. Date Due: Thursday, April 12, 2018 and .h files. Your name, your ID number and HW number should be written on the upper-right corner of the top sheet of the hardcopy

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g Database Administrator Implementation And Administration

Authors: Gavin Powell, Carol McCullough Dieter

2nd Edition

1418836656, 9781418836658

Students also viewed these Databases questions