Professional Documents
Culture Documents
Socket
An outlet is an endpoint between two way interaction.
MAC Address
TCP
IP Address
IP deal with is a exclusive variety allocated to a node of a system e.g.
192.168.0.1 . It is consists of octets that variety from 0 to 255.
It is a sensible deal with that can be modified.
Connection-oriented and connection-less protocol
In connection-oriented method, recognition is sent by the recipient.
So it is efficient but slowly. The example of connection-oriented
method is TCP.
But, in connection-less method, recognition is not sent by the
recipient. So it is not efficient but quick. The example of connectionless method is UDP.
UDP
Socket Programming:
Sockets provide the interaction procedure between two computer
systems using TCP. A customer system makes a outlet on its end of the
interaction and efforts to plug that outlet to a web server.
When the relationship is made, the web server makes a outlet item on its
end of the interaction. The consumer and web server can now connect
by writing to and studying from the outlet.