Skip to main content

Comments

Popular posts from this blog

Socket Programming

SOCKET PROGRAMMING TCP SOCKET PROGRAMMING TCP  Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers for both connection-oriented and connectionless protocols. Python also has libraries that provide higher-level access to specific application-level network protocols, such as FTP, HTTP, and so on. What is Sockets? Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents. Sockets may be implemented over a number of different channel types: Unix domain sockets, TCP, UDP, and so on. The socket library provides specific classes for handling the common transports as well as a generic interface for handling the rest. Sockets have their own vocabulary − Term & Description 1...

Socket Programming

SOCKET PROGRAMMING TCP Python provides two levels of access to network services. At a low level, you can access the basic socket support in the underlying operating system, which allows you to implement clients and servers for both connection-oriented and connectionless protocols. Python also has libraries that provide higher-level access to specific application-level network protocols, such as FTP, HTTP, and so on. What is Sockets? Sockets are the endpoints of a bidirectional communications channel. Sockets may communicate within a process, between processes on the same machine, or between processes on different continents. Sockets may be implemented over a number of different channel types: Unix domain sockets, TCP, UDP, and so on. The socket library provides specific classes for handling the common transports as well as a generic interface for handling the rest. Sockets have their own vocabulary − Term & Description 1 Domain  The family of pr...

Configuring Routing Information Protocol

Routing Information Protocol  (RIP) It is a dynamic routing protocol which uses hop count as a routing metric to find the best path between the source and the destination network. It is a distance vector routing protocol which has AD value 120 and works on the application layer of OSI model. RIP uses port number 520. Steps: 1) Initially select 2 PCs,  2 Switches &  2 Routers namely, PC-1 & PC-2, Switch-1 &                Switch-2 and Router-1 & Router-2 respectively. 2) Make all the necessary connections using serial gateway 0/1, 3) Assign IP Addresses, Subnet Mask and Gateway as follows-      PC-1         192.168.2.1    255.255255.0      192.168.2.2      PC-2         192.168.3.1    255.255.255.0     192.168.3.2    Switch-1        ...