SlideShare a Scribd company logo
Code in java
Design the peer to peer system in which many pairs of nodes (from both clusters/groups) as
possible or at least 100 pairs to exchange messages or content data. A text message sent in
lower-case be converted to uppercase and returned. You may replace the text-file with something
more meaningful or practical such as videos and audio file. If so, then replace the character-
conversion logic inside the server-side code to reflect this new application.
Create a new TCP socket for, e.g., N1, while it waits on its initial request to the S-Router for group
N; and also how the S-Router for group M instructs node M1, for example, to connect to N1 using
this new TCP link. Make use of the threading code and be careful of creating several sockets and
leaving them open (not closed) at the same time. Note that the S-Router-S1 and S-Router-S2
communicate using a pair of TCP sockets with port numbers 5555 and 5556 respectively.
The test files exist on any node which is designated as a sender-Client/Peer. Collect and analyze
data for such parameters as average message sizes, average transmission time, average time for
the routing-table lookup, number of bytes/units of data transferred per unit time, average number
of message drops.

More Related Content

Similar to Code in java Design the peer to peer system in which many pa.pdf

Bc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suiteBc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suite
smumbahelp
 
cscn1819.pdf
cscn1819.pdfcscn1819.pdf
cscn1819.pdf
Anil Sagar
 
On minimizing data forwarding schedule in multi transmit receive wireless mes...
On minimizing data forwarding schedule in multi transmit receive wireless mes...On minimizing data forwarding schedule in multi transmit receive wireless mes...
On minimizing data forwarding schedule in multi transmit receive wireless mes...
redpel dot com
 
MACPresentation based on medium access control mechanism
MACPresentation based on medium access control mechanismMACPresentation based on medium access control mechanism
MACPresentation based on medium access control mechanism
supriyaharlapur1
 
Implementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAPImplementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAPDr. Fahad Aijaz
 
FEC & File Multicast
FEC & File MulticastFEC & File Multicast
FEC & File Multicast
Yoss Cohen
 
Stti The Building Blocks
Stti The Building BlocksStti The Building Blocks
Stti The Building BlocksEri Alam
 
Bar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, PragueBar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, Prague
Jose Saldana
 
ICT Lab Overview
ICT Lab OverviewICT Lab Overview
ICT Lab Overview
Antonio Marcos Alberti
 
JConf.dev 2022 - Apache Pulsar Development 101 with Java
JConf.dev 2022 - Apache Pulsar Development 101 with JavaJConf.dev 2022 - Apache Pulsar Development 101 with Java
JConf.dev 2022 - Apache Pulsar Development 101 with Java
Timothy Spann
 
Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4Marcirio Chaves
 
Performance improvement by
Performance improvement byPerformance improvement by
Performance improvement by
IJCNCJournal
 
Ictinfraosi7 layers tcpipmodel2016e
Ictinfraosi7 layers tcpipmodel2016eIctinfraosi7 layers tcpipmodel2016e
Ictinfraosi7 layers tcpipmodel2016e
uncleRhyme
 
DISTIBUTED OPERATING SYSTEM
DISTIBUTED  OPERATING SYSTEM DISTIBUTED  OPERATING SYSTEM
DISTIBUTED OPERATING SYSTEM
AjithaG9
 
Bt0076, tcpip
Bt0076, tcpipBt0076, tcpip
Bt0076, tcpip
smumbahelp
 
Computer Networks.pdf
Computer Networks.pdfComputer Networks.pdf
Computer Networks.pdf
PD Priyojit Debnath
 

Similar to Code in java Design the peer to peer system in which many pa.pdf (20)

01 pengenalan
01 pengenalan01 pengenalan
01 pengenalan
 
Bc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suiteBc0055, tcp ip protocol suite
Bc0055, tcp ip protocol suite
 
cscn1819.pdf
cscn1819.pdfcscn1819.pdf
cscn1819.pdf
 
On minimizing data forwarding schedule in multi transmit receive wireless mes...
On minimizing data forwarding schedule in multi transmit receive wireless mes...On minimizing data forwarding schedule in multi transmit receive wireless mes...
On minimizing data forwarding schedule in multi transmit receive wireless mes...
 
MACPresentation based on medium access control mechanism
MACPresentation based on medium access control mechanismMACPresentation based on medium access control mechanism
MACPresentation based on medium access control mechanism
 
Implementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAPImplementation and Performance Analysis of a UDP Binding for SOAP
Implementation and Performance Analysis of a UDP Binding for SOAP
 
FEC & File Multicast
FEC & File MulticastFEC & File Multicast
FEC & File Multicast
 
Stti The Building Blocks
Stti The Building BlocksStti The Building Blocks
Stti The Building Blocks
 
Bar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, PragueBar-BoF session about Simplemux at IETF93, Prague
Bar-BoF session about Simplemux at IETF93, Prague
 
ICT Lab Overview
ICT Lab OverviewICT Lab Overview
ICT Lab Overview
 
JConf.dev 2022 - Apache Pulsar Development 101 with Java
JConf.dev 2022 - Apache Pulsar Development 101 with JavaJConf.dev 2022 - Apache Pulsar Development 101 with Java
JConf.dev 2022 - Apache Pulsar Development 101 with Java
 
Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4Tutorial on Parallel Computing and Message Passing Model - C4
Tutorial on Parallel Computing and Message Passing Model - C4
 
Gurpinder_Resume
Gurpinder_ResumeGurpinder_Resume
Gurpinder_Resume
 
Performance improvement by
Performance improvement byPerformance improvement by
Performance improvement by
 
Ictinfraosi7 layers tcpipmodel2016e
Ictinfraosi7 layers tcpipmodel2016eIctinfraosi7 layers tcpipmodel2016e
Ictinfraosi7 layers tcpipmodel2016e
 
DISTIBUTED OPERATING SYSTEM
DISTIBUTED  OPERATING SYSTEM DISTIBUTED  OPERATING SYSTEM
DISTIBUTED OPERATING SYSTEM
 
Bt0076, tcpip
Bt0076, tcpipBt0076, tcpip
Bt0076, tcpip
 
opnet lab report
opnet lab reportopnet lab report
opnet lab report
 
Internet1
Internet1Internet1
Internet1
 
Computer Networks.pdf
Computer Networks.pdfComputer Networks.pdf
Computer Networks.pdf
 

More from aggarwalcollection1

Complete Table 101 with the origins insertions and main a.pdf
Complete Table 101 with the origins insertions and main a.pdfComplete Table 101 with the origins insertions and main a.pdf
Complete Table 101 with the origins insertions and main a.pdf
aggarwalcollection1
 
Completa la siguiente analoga La microevolucin es a la po.pdf
Completa la siguiente analoga La microevolucin es a la po.pdfCompleta la siguiente analoga La microevolucin es a la po.pdf
Completa la siguiente analoga La microevolucin es a la po.pdf
aggarwalcollection1
 
completa la tabla de abajo Coste total Produccin Coste .pdf
completa la tabla de abajo  Coste total   Produccin Coste .pdfcompleta la tabla de abajo  Coste total   Produccin Coste .pdf
completa la tabla de abajo Coste total Produccin Coste .pdf
aggarwalcollection1
 
Compartmentalization is a major determinant of physiological.pdf
Compartmentalization is a major determinant of physiological.pdfCompartmentalization is a major determinant of physiological.pdf
Compartmentalization is a major determinant of physiological.pdf
aggarwalcollection1
 
Compiled with problems ERROR in node_modulesmuiicons.pdf
Compiled with problems ERROR in node_modulesmuiicons.pdfCompiled with problems ERROR in node_modulesmuiicons.pdf
Compiled with problems ERROR in node_modulesmuiicons.pdf
aggarwalcollection1
 
Competencies and Knowledge What competencies were you able.pdf
Competencies and Knowledge   What competencies were you able.pdfCompetencies and Knowledge   What competencies were you able.pdf
Competencies and Knowledge What competencies were you able.pdf
aggarwalcollection1
 
Comparing NAFTA and EU Thoroughly evaluated the reasons why.pdf
Comparing NAFTA and EU  Thoroughly evaluated the reasons why.pdfComparing NAFTA and EU  Thoroughly evaluated the reasons why.pdf
Comparing NAFTA and EU Thoroughly evaluated the reasons why.pdf
aggarwalcollection1
 
Compare and contrast the three sets of observations below d.pdf
Compare and contrast the three sets of observations below d.pdfCompare and contrast the three sets of observations below d.pdf
Compare and contrast the three sets of observations below d.pdf
aggarwalcollection1
 
Compare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdfCompare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdf
aggarwalcollection1
 
Compare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdfCompare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdf
aggarwalcollection1
 
Compare human and Gut bacteria E coli the two species gl.pdf
Compare human and Gut bacteria E coli  the two species gl.pdfCompare human and Gut bacteria E coli  the two species gl.pdf
Compare human and Gut bacteria E coli the two species gl.pdf
aggarwalcollection1
 
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdfCompare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
aggarwalcollection1
 
Combined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdfCombined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdf
aggarwalcollection1
 
Companies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdfCompanies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdf
aggarwalcollection1
 
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdfCOMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
aggarwalcollection1
 
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdfCOLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
aggarwalcollection1
 
Companies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdfCompanies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdf
aggarwalcollection1
 
Common stock value Constant growth Use the constantgrowth .pdf
Common stock value Constant growth  Use the constantgrowth .pdfCommon stock value Constant growth  Use the constantgrowth .pdf
Common stock value Constant growth Use the constantgrowth .pdf
aggarwalcollection1
 
Clostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdfClostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdf
aggarwalcollection1
 
Como director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdfComo director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdf
aggarwalcollection1
 

More from aggarwalcollection1 (20)

Complete Table 101 with the origins insertions and main a.pdf
Complete Table 101 with the origins insertions and main a.pdfComplete Table 101 with the origins insertions and main a.pdf
Complete Table 101 with the origins insertions and main a.pdf
 
Completa la siguiente analoga La microevolucin es a la po.pdf
Completa la siguiente analoga La microevolucin es a la po.pdfCompleta la siguiente analoga La microevolucin es a la po.pdf
Completa la siguiente analoga La microevolucin es a la po.pdf
 
completa la tabla de abajo Coste total Produccin Coste .pdf
completa la tabla de abajo  Coste total   Produccin Coste .pdfcompleta la tabla de abajo  Coste total   Produccin Coste .pdf
completa la tabla de abajo Coste total Produccin Coste .pdf
 
Compartmentalization is a major determinant of physiological.pdf
Compartmentalization is a major determinant of physiological.pdfCompartmentalization is a major determinant of physiological.pdf
Compartmentalization is a major determinant of physiological.pdf
 
Compiled with problems ERROR in node_modulesmuiicons.pdf
Compiled with problems ERROR in node_modulesmuiicons.pdfCompiled with problems ERROR in node_modulesmuiicons.pdf
Compiled with problems ERROR in node_modulesmuiicons.pdf
 
Competencies and Knowledge What competencies were you able.pdf
Competencies and Knowledge   What competencies were you able.pdfCompetencies and Knowledge   What competencies were you able.pdf
Competencies and Knowledge What competencies were you able.pdf
 
Comparing NAFTA and EU Thoroughly evaluated the reasons why.pdf
Comparing NAFTA and EU  Thoroughly evaluated the reasons why.pdfComparing NAFTA and EU  Thoroughly evaluated the reasons why.pdf
Comparing NAFTA and EU Thoroughly evaluated the reasons why.pdf
 
Compare and contrast the three sets of observations below d.pdf
Compare and contrast the three sets of observations below d.pdfCompare and contrast the three sets of observations below d.pdf
Compare and contrast the three sets of observations below d.pdf
 
Compare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdfCompare las conferas con las plantas con flores completando.pdf
Compare las conferas con las plantas con flores completando.pdf
 
Compare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdfCompare and contrast meningitis caused by S agalactiae and .pdf
Compare and contrast meningitis caused by S agalactiae and .pdf
 
Compare human and Gut bacteria E coli the two species gl.pdf
Compare human and Gut bacteria E coli  the two species gl.pdfCompare human and Gut bacteria E coli  the two species gl.pdf
Compare human and Gut bacteria E coli the two species gl.pdf
 
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdfCompare and contrast chemiosmosis in mitochondria and chloro.pdf
Compare and contrast chemiosmosis in mitochondria and chloro.pdf
 
Combined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdfCombined Response I At first glance the specific immune sy.pdf
Combined Response I At first glance the specific immune sy.pdf
 
Companies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdfCompanies need to protect their internal resources Protecti.pdf
Companies need to protect their internal resources Protecti.pdf
 
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdfCOMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
COMP 2111 Assignment 3 1 What is the minimum number of entr.pdf
 
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdfCOLLAPSE Research the ofstream cite your sources Which Hea.pdf
COLLAPSE Research the ofstream cite your sources Which Hea.pdf
 
Companies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdfCompanies have used stealth marketing for almost two decades.pdf
Companies have used stealth marketing for almost two decades.pdf
 
Common stock value Constant growth Use the constantgrowth .pdf
Common stock value Constant growth  Use the constantgrowth .pdfCommon stock value Constant growth  Use the constantgrowth .pdf
Common stock value Constant growth Use the constantgrowth .pdf
 
Clostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdfClostridium difficile has become a concerning problem in the.pdf
Clostridium difficile has become a concerning problem in the.pdf
 
Como director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdfComo director de proyecto de la construccin de un nuevo hot.pdf
Como director de proyecto de la construccin de un nuevo hot.pdf
 

Recently uploaded

Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
Celine George
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Denish Jangid
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
Special education needs
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
parmarsneha2
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
ricssacare
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
ssuserbdd3e8
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
Sayali Powar
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 

Recently uploaded (20)

Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptxSolid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
Solid waste management & Types of Basic civil Engineering notes by DJ Sir.pptx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
plant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated cropsplant breeding methods in asexually or clonally propagated crops
plant breeding methods in asexually or clonally propagated crops
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
UNIT – IV_PCI Complaints: Complaints and evaluation of complaints, Handling o...
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 

Code in java Design the peer to peer system in which many pa.pdf

  • 1. Code in java Design the peer to peer system in which many pairs of nodes (from both clusters/groups) as possible or at least 100 pairs to exchange messages or content data. A text message sent in lower-case be converted to uppercase and returned. You may replace the text-file with something more meaningful or practical such as videos and audio file. If so, then replace the character- conversion logic inside the server-side code to reflect this new application. Create a new TCP socket for, e.g., N1, while it waits on its initial request to the S-Router for group N; and also how the S-Router for group M instructs node M1, for example, to connect to N1 using this new TCP link. Make use of the threading code and be careful of creating several sockets and leaving them open (not closed) at the same time. Note that the S-Router-S1 and S-Router-S2 communicate using a pair of TCP sockets with port numbers 5555 and 5556 respectively. The test files exist on any node which is designated as a sender-Client/Peer. Collect and analyze data for such parameters as average message sizes, average transmission time, average time for the routing-table lookup, number of bytes/units of data transferred per unit time, average number of message drops.