際際滷

際際滷Share a Scribd company logo
Orator : JIGNESH POSAREKAR
SOCKET PROGRAMMING
Server Client Project to get PCs Health through Remote Server
What is SOCKET ?
 An interface between application and network
 The application creates a socket
 The socket type dictates the style of communication
 reliable vs. best effort
 connection-oriented vs. connectionless
 Once configured the application can
 pass data to the socket for network transmission
 receive data from the socket (transmitted through the network by some other host)
Two essential types of SOCKETS
 SOCK_STREAM
 a.k.a. TCP
 reliable delivery
 in-order guaranteed
 connection-oriented
 bidirectional
 SOCK_DGRAM
 a.k.a. UDP
 unreliable delivery
 no order guarantees
 no notion of connection  app indicates dest. for
each packet
 can send or receive
App
socket
3 2 1
Dest.
App
socket
3 2 1
D1
D3
D2
The SOCKET-Eye view of the Internet
 Each host machine has an IP address when a packet arrives at a host
medellin.cs.columbia.edu
(128.59.21.14)
cluster.cs.columbia.edu
(128.59.21.14, 128.59.16.7,
128.59.16.5, 128.59.16.4)
newworld.cs.umass.edu
(128.119.245.93)
Ports
 Each host has 65,536 ports
 Some ports are reserved for specific
apps
 20,21: FTP
 23: Telnet
 80: HTTP
 A socket provides an interface to
send data to/from the network
through a port
Port 0
Port 1
Port 65535
Addresses, Ports & Sockets
 Like apartments and mailboxes
Application Address Port Network
Socket
Orator : VAIBHAV PRABHU
Orator : JAY PATEL
Operations on Socket
 A socket performs four fundamental operation:
 To connect to the remote machine ,
 Send data ,
 Receive data and
 Close the connection.
Connection Oriented Protocol
Java Socket Programming

More Related Content

What's hot (15)

Networking & security
Networking & securityNetworking & security
Networking & security
ashishsharma1506
Software defined network
Software defined network Software defined network
Software defined network
Sindhu Bharadwaj
middleware in embedded systems
middleware in embedded systemsmiddleware in embedded systems
middleware in embedded systems
Akhil Kumar
Typical elements in a LAN
Typical elements in a LANTypical elements in a LAN
Typical elements in a LAN
inesvelez_
Typical elements in a lan
Typical elements in a lanTypical elements in a lan
Typical elements in a lan
Wacchho
Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...
Ecwayt
Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...
Ecwayt
Software-Defined Networking Layers presentation
Software-Defined Networking Layers presentationSoftware-Defined Networking Layers presentation
Software-Defined Networking Layers presentation
Abdullah Salama
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlowCohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive Networks
HomeControl
HomeControlHomeControl
HomeControl
Tomasz Walasek
LAN Security
LAN Security LAN Security
LAN Security
Syed Ubaid Ali Jafri
ITWD Report > Unedited, with animation originally
ITWD Report > Unedited, with animation originallyITWD Report > Unedited, with animation originally
ITWD Report > Unedited, with animation originally
Kei Kaneki-san
Security of software defined networking (sdn) and cognitive radio network (crn)
Security of software defined networking (sdn) and  cognitive radio network (crn)Security of software defined networking (sdn) and  cognitive radio network (crn)
Security of software defined networking (sdn) and cognitive radio network (crn)
Ameer Sameer
Presentation1
Presentation1Presentation1
Presentation1
Rajenderkhatana
Enea element-on-device-management-datasheet
Enea element-on-device-management-datasheetEnea element-on-device-management-datasheet
Enea element-on-device-management-datasheet
Enea Software AB
Software defined network
Software defined network Software defined network
Software defined network
Sindhu Bharadwaj
middleware in embedded systems
middleware in embedded systemsmiddleware in embedded systems
middleware in embedded systems
Akhil Kumar
Typical elements in a LAN
Typical elements in a LANTypical elements in a LAN
Typical elements in a LAN
inesvelez_
Typical elements in a lan
Typical elements in a lanTypical elements in a lan
Typical elements in a lan
Wacchho
Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...
Ecwayt
Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...Code modulation based encryption & decryption technique for secure communicat...
Code modulation based encryption & decryption technique for secure communicat...
Ecwayt
Software-Defined Networking Layers presentation
Software-Defined Networking Layers presentationSoftware-Defined Networking Layers presentation
Software-Defined Networking Layers presentation
Abdullah Salama
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlowCohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive SDN Summit Presentation: OpenFlow is SDN, SDN is not OpenFlow
Cohesive Networks
ITWD Report > Unedited, with animation originally
ITWD Report > Unedited, with animation originallyITWD Report > Unedited, with animation originally
ITWD Report > Unedited, with animation originally
Kei Kaneki-san
Security of software defined networking (sdn) and cognitive radio network (crn)
Security of software defined networking (sdn) and  cognitive radio network (crn)Security of software defined networking (sdn) and  cognitive radio network (crn)
Security of software defined networking (sdn) and cognitive radio network (crn)
Ameer Sameer
Enea element-on-device-management-datasheet
Enea element-on-device-management-datasheetEnea element-on-device-management-datasheet
Enea element-on-device-management-datasheet
Enea Software AB

Similar to JP - Socket Programming (20)

this is a power point presentation on chat application
this is a power point presentation on chat applicationthis is a power point presentation on chat application
this is a power point presentation on chat application
mdprince1262
Client server chat application
Client server chat applicationClient server chat application
Client server chat application
Samsil Arefin
sockets SMTP Bmsce ppt information science and engineering
sockets SMTP Bmsce ppt information science and engineeringsockets SMTP Bmsce ppt information science and engineering
sockets SMTP Bmsce ppt information science and engineering
UtkarshaMahajan6
Java socket programming
Java socket programmingJava socket programming
Java socket programming
Mohammed Abdalla Youssif
Chap 1 Network Theory & Java Overview
Chap 1   Network Theory & Java OverviewChap 1   Network Theory & Java Overview
Chap 1 Network Theory & Java Overview
Ministry of Higher Education
OSI Model Layers and Internet Protocol Stack
OSI Model Layers and Internet Protocol StackOSI Model Layers and Internet Protocol Stack
OSI Model Layers and Internet Protocol Stack
Shivam Mitra
Client Server Network and Peer to Peer.pptx
Client Server Network and Peer to Peer.pptxClient Server Network and Peer to Peer.pptx
Client Server Network and Peer to Peer.pptx
DevChaudhari17
5G-USA-Telemetry
5G-USA-Telemetry5G-USA-Telemetry
5G-USA-Telemetry
snrism
Java Networking
Java NetworkingJava Networking
Java Networking
68SachinYadavSYCS
Data Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptxData Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptx
SidraAhmad29
Data Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptxData Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptx
SidraAhmad29
OOP Lecture 24-Network Programming-Part1.pptx
OOP Lecture 24-Network Programming-Part1.pptxOOP Lecture 24-Network Programming-Part1.pptx
OOP Lecture 24-Network Programming-Part1.pptx
Tanzila Kehkashan
Mobile Based Lan Monitoring.pptx
Mobile Based Lan Monitoring.pptxMobile Based Lan Monitoring.pptx
Mobile Based Lan Monitoring.pptx
workspaceyks
06-Networks-Software.pdf
06-Networks-Software.pdf06-Networks-Software.pdf
06-Networks-Software.pdf
Ministry of Higher Education and Scientific Research
Kollective_SD_ECDN_WP[1]
Kollective_SD_ECDN_WP[1]Kollective_SD_ECDN_WP[1]
Kollective_SD_ECDN_WP[1]
Glen Howard
From the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's PrimerFrom the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's Primer
Rick G. Garibay
Basics concept of network and internet mansi
Basics concept of network and internet   mansiBasics concept of network and internet   mansi
Basics concept of network and internet mansi
MansiGupta298
Java networking
Java networkingJava networking
Java networking
Arati Gadgil
Socket programming in C#
Socket programming in C#Socket programming in C#
Socket programming in C#
Nang Luc Vu
DrShivashankar_Computer Net_Module-3.pdf
DrShivashankar_Computer Net_Module-3.pdfDrShivashankar_Computer Net_Module-3.pdf
DrShivashankar_Computer Net_Module-3.pdf
Dr. Shivashankar
this is a power point presentation on chat application
this is a power point presentation on chat applicationthis is a power point presentation on chat application
this is a power point presentation on chat application
mdprince1262
Client server chat application
Client server chat applicationClient server chat application
Client server chat application
Samsil Arefin
sockets SMTP Bmsce ppt information science and engineering
sockets SMTP Bmsce ppt information science and engineeringsockets SMTP Bmsce ppt information science and engineering
sockets SMTP Bmsce ppt information science and engineering
UtkarshaMahajan6
OSI Model Layers and Internet Protocol Stack
OSI Model Layers and Internet Protocol StackOSI Model Layers and Internet Protocol Stack
OSI Model Layers and Internet Protocol Stack
Shivam Mitra
Client Server Network and Peer to Peer.pptx
Client Server Network and Peer to Peer.pptxClient Server Network and Peer to Peer.pptx
Client Server Network and Peer to Peer.pptx
DevChaudhari17
5G-USA-Telemetry
5G-USA-Telemetry5G-USA-Telemetry
5G-USA-Telemetry
snrism
Data Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptxData Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptx
SidraAhmad29
Data Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptxData Communication and Newtworking 1 .pptx
Data Communication and Newtworking 1 .pptx
SidraAhmad29
OOP Lecture 24-Network Programming-Part1.pptx
OOP Lecture 24-Network Programming-Part1.pptxOOP Lecture 24-Network Programming-Part1.pptx
OOP Lecture 24-Network Programming-Part1.pptx
Tanzila Kehkashan
Mobile Based Lan Monitoring.pptx
Mobile Based Lan Monitoring.pptxMobile Based Lan Monitoring.pptx
Mobile Based Lan Monitoring.pptx
workspaceyks
Kollective_SD_ECDN_WP[1]
Kollective_SD_ECDN_WP[1]Kollective_SD_ECDN_WP[1]
Kollective_SD_ECDN_WP[1]
Glen Howard
From the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's PrimerFrom the Internet of Things to Intelligent Systems: A Developer's Primer
From the Internet of Things to Intelligent Systems: A Developer's Primer
Rick G. Garibay
Basics concept of network and internet mansi
Basics concept of network and internet   mansiBasics concept of network and internet   mansi
Basics concept of network and internet mansi
MansiGupta298
Java networking
Java networkingJava networking
Java networking
Arati Gadgil
Socket programming in C#
Socket programming in C#Socket programming in C#
Socket programming in C#
Nang Luc Vu
DrShivashankar_Computer Net_Module-3.pdf
DrShivashankar_Computer Net_Module-3.pdfDrShivashankar_Computer Net_Module-3.pdf
DrShivashankar_Computer Net_Module-3.pdf
Dr. Shivashankar

Recently uploaded (20)

Azure AI-900 Fundamentals Microsoft Exam
Azure AI-900 Fundamentals Microsoft ExamAzure AI-900 Fundamentals Microsoft Exam
Azure AI-900 Fundamentals Microsoft Exam
subha8077raghavan
power system protection and why to protect the system
power system protection and why to protect the systempower system protection and why to protect the system
power system protection and why to protect the system
DivyangBhatt6
DSE8610-Operators-Manual DEEPSEA controller
DSE8610-Operators-Manual DEEPSEA controllerDSE8610-Operators-Manual DEEPSEA controller
DSE8610-Operators-Manual DEEPSEA controller
Sadik74
Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...
Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...
Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...
Long Vo
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
22PCOAM16 _ML_ Unit 2 Full unit notes.pdf
Guru Nanak Technical Institutions
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
arivazhaganrajangam
Chapter 1- Introduction-chemical bonding.pptx
Chapter 1- Introduction-chemical bonding.pptxChapter 1- Introduction-chemical bonding.pptx
Chapter 1- Introduction-chemical bonding.pptx
venomalvi2
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Ba誰na
BUILD WITH AI for GDG on campus MVJCE.pptx
BUILD WITH AI for GDG on campus MVJCE.pptxBUILD WITH AI for GDG on campus MVJCE.pptx
BUILD WITH AI for GDG on campus MVJCE.pptx
greeshmadj0
Kamal 2, new features and practical examples
Kamal 2, new features and practical examplesKamal 2, new features and practical examples
Kamal 2, new features and practical examples
Igor Aleksandrov
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
AI Publications
chapter 2 combustion engineering for second semester
chapter 2 combustion engineering for second semesterchapter 2 combustion engineering for second semester
chapter 2 combustion engineering for second semester
MeleseLegamo
Introduction to CLoud Computing Technologies
Introduction to CLoud Computing TechnologiesIntroduction to CLoud Computing Technologies
Introduction to CLoud Computing Technologies
cloudlab1
Self-Compacting Concrete: Composition, Properties, and Applications in Modern...
Self-Compacting Concrete: Composition, Properties, and Applications in Modern...Self-Compacting Concrete: Composition, Properties, and Applications in Modern...
Self-Compacting Concrete: Composition, Properties, and Applications in Modern...
NIT SILCHAR
MODULE 01 - CLOUD COMPUTING [BIS 613D] .pptx
MODULE 01 - CLOUD COMPUTING [BIS 613D] .pptxMODULE 01 - CLOUD COMPUTING [BIS 613D] .pptx
MODULE 01 - CLOUD COMPUTING [BIS 613D] .pptx
Alvas Institute of Engineering and technology, Moodabidri
Supervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine LearningSupervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine Learning
ShivarkarSandip
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
josephmigliorini1
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
Guru Nanak Technical Institutions
BCS401 ADA Module 1 PPT 2024-25 IV SEM.pptx
BCS401 ADA Module 1 PPT 2024-25 IV SEM.pptxBCS401 ADA Module 1 PPT 2024-25 IV SEM.pptx
BCS401 ADA Module 1 PPT 2024-25 IV SEM.pptx
VENKATESHBHAT25
Mix Design of M40 Concrete & Application of NDT.pptx
Mix Design of M40 Concrete & Application of NDT.pptxMix Design of M40 Concrete & Application of NDT.pptx
Mix Design of M40 Concrete & Application of NDT.pptx
narayan311979
Azure AI-900 Fundamentals Microsoft Exam
Azure AI-900 Fundamentals Microsoft ExamAzure AI-900 Fundamentals Microsoft Exam
Azure AI-900 Fundamentals Microsoft Exam
subha8077raghavan
power system protection and why to protect the system
power system protection and why to protect the systempower system protection and why to protect the system
power system protection and why to protect the system
DivyangBhatt6
DSE8610-Operators-Manual DEEPSEA controller
DSE8610-Operators-Manual DEEPSEA controllerDSE8610-Operators-Manual DEEPSEA controller
DSE8610-Operators-Manual DEEPSEA controller
Sadik74
Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...
Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...
Artificial Neural Network to Identify Verical Fractured Wells Flow Period (Lo...
Long Vo
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...UHV UNIT-5  IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
UHV UNIT-5 IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON P...
arivazhaganrajangam
Chapter 1- Introduction-chemical bonding.pptx
Chapter 1- Introduction-chemical bonding.pptxChapter 1- Introduction-chemical bonding.pptx
Chapter 1- Introduction-chemical bonding.pptx
venomalvi2
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Baina NISS 2025 invited speach about Ethical Considerations for Respons...
Karim Ba誰na
BUILD WITH AI for GDG on campus MVJCE.pptx
BUILD WITH AI for GDG on campus MVJCE.pptxBUILD WITH AI for GDG on campus MVJCE.pptx
BUILD WITH AI for GDG on campus MVJCE.pptx
greeshmadj0
Kamal 2, new features and practical examples
Kamal 2, new features and practical examplesKamal 2, new features and practical examples
Kamal 2, new features and practical examples
Igor Aleksandrov
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
Explainability and Transparency in Artificial Intelligence: Ethical Imperativ...
AI Publications
chapter 2 combustion engineering for second semester
chapter 2 combustion engineering for second semesterchapter 2 combustion engineering for second semester
chapter 2 combustion engineering for second semester
MeleseLegamo
Introduction to CLoud Computing Technologies
Introduction to CLoud Computing TechnologiesIntroduction to CLoud Computing Technologies
Introduction to CLoud Computing Technologies
cloudlab1
Self-Compacting Concrete: Composition, Properties, and Applications in Modern...
Self-Compacting Concrete: Composition, Properties, and Applications in Modern...Self-Compacting Concrete: Composition, Properties, and Applications in Modern...
Self-Compacting Concrete: Composition, Properties, and Applications in Modern...
NIT SILCHAR
Supervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine LearningSupervised Learning Ensemble Techniques Machine Learning
Supervised Learning Ensemble Techniques Machine Learning
ShivarkarSandip
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
Shaping Skylines- The Evolution of Real Estate Development and the Vision of ...
josephmigliorini1
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
22PCOAM16_ML_Unit 1 notes & Question Bank with answers.pdf
Guru Nanak Technical Institutions
BCS401 ADA Module 1 PPT 2024-25 IV SEM.pptx
BCS401 ADA Module 1 PPT 2024-25 IV SEM.pptxBCS401 ADA Module 1 PPT 2024-25 IV SEM.pptx
BCS401 ADA Module 1 PPT 2024-25 IV SEM.pptx
VENKATESHBHAT25
Mix Design of M40 Concrete & Application of NDT.pptx
Mix Design of M40 Concrete & Application of NDT.pptxMix Design of M40 Concrete & Application of NDT.pptx
Mix Design of M40 Concrete & Application of NDT.pptx
narayan311979

JP - Socket Programming

  • 1. Orator : JIGNESH POSAREKAR
  • 2. SOCKET PROGRAMMING Server Client Project to get PCs Health through Remote Server
  • 3. What is SOCKET ? An interface between application and network The application creates a socket The socket type dictates the style of communication reliable vs. best effort connection-oriented vs. connectionless Once configured the application can pass data to the socket for network transmission receive data from the socket (transmitted through the network by some other host)
  • 4. Two essential types of SOCKETS SOCK_STREAM a.k.a. TCP reliable delivery in-order guaranteed connection-oriented bidirectional SOCK_DGRAM a.k.a. UDP unreliable delivery no order guarantees no notion of connection app indicates dest. for each packet can send or receive App socket 3 2 1 Dest. App socket 3 2 1 D1 D3 D2
  • 5. The SOCKET-Eye view of the Internet Each host machine has an IP address when a packet arrives at a host medellin.cs.columbia.edu (128.59.21.14) cluster.cs.columbia.edu (128.59.21.14, 128.59.16.7, 128.59.16.5, 128.59.16.4) newworld.cs.umass.edu (128.119.245.93)
  • 6. Ports Each host has 65,536 ports Some ports are reserved for specific apps 20,21: FTP 23: Telnet 80: HTTP A socket provides an interface to send data to/from the network through a port Port 0 Port 1 Port 65535
  • 7. Addresses, Ports & Sockets Like apartments and mailboxes Application Address Port Network Socket
  • 9. Orator : JAY PATEL
  • 10. Operations on Socket A socket performs four fundamental operation: To connect to the remote machine , Send data , Receive data and Close the connection.