Instructions : all home assignments are to be completed in groups of



Download 219,74 Kb.
Pdf ko'rish
bet7/17
Sana12.11.2022
Hajmi219,74 Kb.
#864723
1   2   3   4   5   6   7   8   9   10   ...   17
Bog'liq
SOC3010 OS HOME ASSIGNMENT 3 FALL 2022


return 0; 

You are required to go through server.c and client.c programs and do the 
following:
 
a)
 
Compile the programs (using gcc -o server server.c && gcc -o client 
client.c).
 
b)
 
Setup the server first by opening a new xterm and run the command
./server. 
 
c)
 
Setup the client next by opening a new xterm and run the command ./client. 
 
d)
 
Now start a chat session by starting the chat from the client side (when you 
see the prompt CLIENT: enter your chat text and press enter to send it to 
server). You will see your chat text on server screen and the server will give 
you the prompt SERVER: to enter your chat text and sent it to the client. 
Reply to the client chat text by entering your reply chat text at the server 
prompt. In this way, you can continue your chat session chatting about your 
group members, about different subjects what you are learning now and 
other relevant topics of interest.
 
e)
 
Provide all the chat sessions outputs of the both server side and client side 
screens. Provide screen shots of all the results including the program. 
 
f)
 
Describe all the steps in setting up server and client by going through the 
programs. 
 
9.
Consider the program to get the IP address of the remote host by specifying the 
domain name 
Program Name : gethostname.c 
 /* When connecting to a remote host , it is necessary to have its IP address.
*/
/ * Function gethostbyname is used for this purpose.
*/


SOC3010 OPERATING SYSTEMS 
HOME ASSIGNMENT 3 
FALL 2022

Download 219,74 Kb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   10   ...   17




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish