0% found this document useful (0 votes)
5 views

Assignment 3

The assignment for Computer Network Lab (CSC 611) requires students to write two TCP socket programs in a chosen programming language. The first program establishes a client-server connection where the client sends a message to the server, and the server displays it. The second program involves the client sending a string to the server, which echoes back characters based on the string's length, continuing until the client sends 'bye', with outputs to be documented and submitted by the due date of February 9, 2024.

Uploaded by

tofuguy286
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Assignment 3

The assignment for Computer Network Lab (CSC 611) requires students to write two TCP socket programs in a chosen programming language. The first program establishes a client-server connection where the client sends a message to the server, and the server displays it. The second program involves the client sending a string to the server, which echoes back characters based on the string's length, continuing until the client sends 'bye', with outputs to be documented and submitted by the due date of February 9, 2024.

Uploaded by

tofuguy286
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Computer Network Lab (CSC 611)

Assignment - 3
Due date: 09.02.2024

1.​ Write a TCP socket program (in C/C++/Java/Python) to establish connection


between client and server. The client program will send a message to the server
and the server program will display the message.
2.​ Write a TCP socket program where client sends a message (string) to server;
server echo back the characters at even position if length of the string is even
otherwise echo back the characters at odd position. This process continues until
the client sends ‘bye’.

Show the output screens/connection to the course instructor or teaching/technical assistant,


prepare a pdf document with task and output screens, save it with filename format <reg
no_assgn no.pdf> (e.g 1012_Assgn1.pdf) and submit in classroom on or before the due date.

You might also like