2023 2024 Student Forum > Management Forum > Main Forum

 
  #2  
1st March 2016, 11:03 AM
Super Moderator
 
Join Date: Apr 2013
Re: Socket Programming IITK

In the Client Server Architecture, a Machine (Refered as Client) Makes a Request to Connect to another Machine (called as server) for Providing Some Service.

The Services Running on the Server run on known Ports(application identifiers) and the Client Needs to know the Address of the Server Machine and this Port in order to Connect to the Server.

On the other hand, the server does not need to know about the address or the port of the client at the time of connection initiation.

The first packet which the client sends as a request to the server contains these Information’s about the client which are further used by the server to send any information.


Steps followed by client to establish the connection:
Create a socket
Connect the socket to the address of the server
Send/Receive data
Close the socket

Steps followed by server to establish the connection:
Create a socket
Bind the socket to the port number known to all clients
Listen for the connection request
Accept connection request
Send/Receive data


Computer Networks Socket Programming Details of IIT Kanpur







Here I am attaching pdf file Which having Computer Networks Socket Programming Details of IIT Kanpur You Can Download free of cost :

Contact No :
0512 259 0151

Address :

Indian Institute of Technology Kanpur
Kalyanpur
Kanpur, Uttar Pradesh 208016


Quick Reply
Your Username: Click here to log in

Message:
Options




All times are GMT +5. The time now is 07:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
SEO by vBSEO 3.6.0 PL2

1 2 3 4