Session layer creates certain check points while transmitting volumes of data in a sequence. When there is a problem in the transmission in the middle of any bulk of data, transmission will take place from the check point where it was left. This function of Session layer is called Synchronisation and recovery. |
NOTE: This is objective type question, Please click question title for correct answer. |
a)In Sql Server - 1433
b)In HTTP(Hypertext Transfer Protocol) - 80
c)HTTPS(Hypertext Transfer Protocol Secure) - 443 |
NOTE: This is objective type question, Please click question title for correct answer. |
In this mode of communication ,
When the server is processing a particular client that means if it is receiving and sending the information to that particular client , another client cannot acess the server at the same time . Since the server will be blocked on the first client. Hence it is not suitable in real world applciations because, mostly these days applications should process multiple clients at a time.Which is not the case here. |
In this communication
The server can access multiple clients at a time.When one server is processing a particular client then if any other client tries to access then a seperate thread at OS level is raised on the socket and that will invoke a call back function. Now this call back fucntion raises a Socket event which will process the request which was given by the other client.Hence we can make multiple clients to access a single server. |
Generally a Socket class provides a set of Synchronous and Asynchronous methods for the Synchronous and Asynchronous mode of communication.
We can get this using a namespace called
System.Net.Sockets.Socket |
|
There are 2 different type of methods present in Socket Class they are :
Synchronous Methods and Asynchronous Methods
In .Net Naming conventions all the ASynchronous Methods names are created by prefixing the words 'Begin' or 'End' to the names of Synchronous Methods
That is
Synchronous Methods :
(a) Connect()
(b) Receive()
ASynchronous Methods :
(a) BeginConnect() and EndConnect()
(b) BeginReceive() and EndReceive() |
By using following code in the Code-Behind file we can get the IP adderss of a client system on which the application is running.
string MyClientAddress = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
Response.Write("IP Address of my client system is ---"+MyClientAddress); |
A public IP address is an address leased from an ISP that allows or enables direct Internet communication. |
TCB is nothing but Transmission Control Block.
It is a complex data structure which contains a considerable amount of information about each connection. |
RIP is Routing Information Protocol.
It is a simple protocol which is used to exchange information between the routers. |
It is a host which has multilple network interfaces and which requires multiple IP addresses is called as a Multi-homed Host. |
NVT is Network Virtual Terminal.
It is a set of rules defining a very simple virtual terminal interaction.
NVT is used in the start of a Telnet Session. |
A collection of routers under the control of a single administrative authority which uses a common Interior Gateway Protocol is called as an Autonomous System. |