Category Archives: Networks

Block diagram Tutorial 1 Introduction to computer networks-

Network / networking & block diagram

  • Two or more systems which are connected through
    which communication can take place .
  •  Connection may be point to point
  •  All systems are connected by some means
  •  No man is an island – Same for computer
  •  Communication between two points

A computer network is a set of computers connected together for the purpose of sharing resources. The most common resource shared today is connection to the Internet. Other shared resources can include a printer or a file server.

Block diagram

block diagram
Block diagram

Continue reading Block diagram Tutorial 1 Introduction to computer networks-

Implement an Echo UDP server in C

Implement an Echo UDP server in C

The Echo Protocol is a service in the Internet Protocol Suite defined in RFC 862. … A host may connect to a server that supports the Echo Protocol using the Transmission Control Protocol (TCP)( echo UDP) or the User Datagram Protocol (UDP) on the well-known port number 7. Continue reading Implement an Echo UDP server in C

Message transfer from client to server using UDP in C

Implement a message transfer from client to server process using UDP.

 

  • UDP is a simple transport-layer protocol. The application writes a message to a UDP socket, which is then encapsulated in a UDP datagram, which is further encapsulated in an IP datagram, which is sent to the destination.

Title

Continue reading Message transfer from client to server using UDP in C

TCP program to authenticate client’s Username Password

TCP based server program to authenticate the client’s Username and Password.

Title

Concept authenticate

Also known as basic password authentication Name-and-password authentication, uses a basic challenge/response protocol to ask users for their names and passwords and then verifies the accuracy of the passwords by checking them against a secure hash table of the password stored in Person documents in the Domino Directory. Continue reading TCP program to authenticate client’s Username Password

C program for file transfer using TCP

File transfer using TCP

 

Concept of file transfer

There are three steps in file transfer

a)Connection Establishment,

b)Data Transfer,

c)Connection Termination

Now here a client is sending a file to a server, over a TCP socket.

The server does some processing on the file and sends it back to the client. Continue reading C program for file transfer using TCP

Socket Programming – Introduction Lab programs

Socket Programming

 

Title

Client Server Model

  • The client connects to the other process, the server, typically to make a request for information .
  • A close imitation of such a model is a phone call between two persons.
  • The client need to know the address of the server beforehand but the server need not know the address of the client.
  • Once a connection is established, both sides can send and receive information.
  • A socket is one end of an inter-process communication channel.
  • The two processes each establish their own socket.

Continue reading Socket Programming – Introduction Lab programs

Chat application using TCP/IP (server / client) in C

Chat application using TCP/IP

Concept of chat application

  • The client needs to connect to the server, and hence it has to know the address of the server beforehand.
  • Server need not know the address of the client prior to the connection has been made.
  • Once the connection is made both side can send and receive message.

Continue reading Chat application using TCP/IP (server / client) in C

Computer networks topics covered for computer aspirants

COMPUTER NETWORKS TOPICS COVERED

Title

Unit I INTRODUCTION TO COMPUTER NETWORKS

Continue reading Computer networks topics covered for computer aspirants