SlideShare a Scribd company logo
3
Most read
5
Most read
6
Most read
RAILWAY RESERVATION SYSTEM USING
SOCKET PROGRAMMING IN ‘C’
PRESENTED BY
UJJWAL MAHAJAN UTKARSH SHARMA RISHABH AGRAWAL SANYAM GARG
500041345 500041161 500041139 500040778
ABSTRACT
 Railway reservation must be faster and efficient.
 Using this program, users can book a ticket without
filling a form at the railway reservation counter.
 Users can directly choose from the option provided
such as book a ticket, cancel a ticket, etc.
 If a user selects to book a ticket, ticket would be
booked and final amount would be displayed on the
screen.
 Implemented through socket programming in C
language.
INTRODUCTION
 The Project “Railway Reservation System” aims to
provide a mechanism for the railway management to
deal with a number of tasks efficiently using this
system.
 There are three basic tasks under this system which
are:
 RAILWAY MANAGEMENT
 FARE MANAGEMENT
 TIMETABLE MANAGEMENT
PROBLEM STATEMENT
 The existing railway reservation system has many
shortcoming associated with it.
 In the existing system, railways used to set train
reservation levels higher than seating capacity to
compensate for passenger cancellation thus wasting
time and money for all. With the advent of this
project these flaws can be overcome.
 The use of Socket programming is going to do extend
the reliability & extensibility of the railway and will
also improve the user comfort.
LITERATURE REVIEW
 This project is mainly about railway reservation system using
socket programming.
 Sockets allow communication between two different
processes on the same or different machines. To be more
precise, it's a way to talk to other computers [3].
 There are many types of sockets mainly- Datagram sockets,
also known as connectionless sockets, which use User
Datagram Protocol (UDP); Stream sockets, also known
as connection-oriented sockets, which use Transmission
Control Protocol (TCP) or Stream Control Transmission
Protocol (SCTP); Raw sockets, which are typically available in
routers and other network equipment- here the transport
layer is bypassed, and the packet headers are made
accessible to the application [1].
 Socket programming is basically programming of sockets
which uses some functions, such as, listen(), accept(), etc.,
to communicate b/w clients and server. [2].
OBJECTIVES
 To view trains between stations.
 To implement a chat server.
 To view seats available.
 To view status or PNR.
 To view train route.
METHODOLOGY
 File handling is used for storing database.
 A chat server linked with the database and clients
for requesting the chat server are also created for
reservation or cancellation.
 If any seat is available for reservation, it would
respond on the request else would display a
message for waiting.
 Basically, two kind of user are available.
 TEMPORARY USER.
 PERMANENT USER.
SYSTEM REQUIREMENTS
SOFTWARE REQUIREMENTS:
 Operating system Linux.
 Programming Language C language.
 Compiler. gcc Compiler
HARDWARE REQUIREMENTS:
 RAM 512 MB
 Hard Disk 5 GB
SCHEDULE: (PERT CHART)
Coding and Testing
(4 weeks in November)
Software Requirement
Analysis & Research
(3weeks of
September)
Implementation
(2 weeks)
Finish
Data Analysis
&
Learning
(last week of August)
3
1
5
6
3
2
Algorithm design
(4 weeks of
October)
4
Start
Figure 1: PERT Chart of Railway Reservation System
SCHEDULE OF PERT CHART
NAME TIME
Requirement analysis Last week of August
Design 3 weeks of September
Coding 3 weeks
Testing 4 weeks in November
REFERENCES
Web Resources:
 www.indianrail.gov.in
 www.irctc.gov.in
 www.scribd.com
Reference Books:
 “TCP/IP Sockets in C” by Michael J. Donahoo, Kenneth L.
Calvert.
 “The pocket guide to TCP/IP Sockets” by Kenneth L. Calvert.
THANK YOU

More Related Content

PPTX
TRAIN TICKETING SYSTEM
PPTX
Online Railway reservation
PPTX
Online Railway Reservation System
PPTX
ONLINE BUS BOOKING SYSTEM
DOCX
Online Railway Reservation System
PPTX
Railway reservation system
PPT
railway reservation software documentaion
DOCX
ER diagrams for Railway reservation system
TRAIN TICKETING SYSTEM
Online Railway reservation
Online Railway Reservation System
ONLINE BUS BOOKING SYSTEM
Online Railway Reservation System
Railway reservation system
railway reservation software documentaion
ER diagrams for Railway reservation system

What's hot (20)

PDF
Airline reservation system
PPTX
Online Bus Reservatiom System
PDF
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
PDF
Online railway reservation system
DOCX
Online railway reservation system
PPTX
Railway Reservation system
PPT
Train ticket reservation
PDF
Railway reservation system
RTF
Railway Reservation Documentation
DOCX
Documentation of railway reservation system
PPTX
cab booking system ppt.pptx
PPTX
Presentation on Railway Management System
PDF
Bus Ticket Management System
PDF
Railway Reservation System - Requirement Engineering
DOCX
Online Bus Ticket Reservation System
PPTX
Scope Definition of Online Ticketing System
PPTX
College transport management system
PPTX
QSpiders - Aptitude Assignments
DOCX
Bus Ticket Management System Documentation
PPTX
Railway Reservation System
Airline reservation system
Online Bus Reservatiom System
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Online railway reservation system
Online railway reservation system
Railway Reservation system
Train ticket reservation
Railway reservation system
Railway Reservation Documentation
Documentation of railway reservation system
cab booking system ppt.pptx
Presentation on Railway Management System
Bus Ticket Management System
Railway Reservation System - Requirement Engineering
Online Bus Ticket Reservation System
Scope Definition of Online Ticketing System
College transport management system
QSpiders - Aptitude Assignments
Bus Ticket Management System Documentation
Railway Reservation System
Ad

Similar to Railways reservation system using socket programming (20)

DOCX
Case study of spiral process model
PPT
Indian railway prs system
DOCX
E-TICKETING ON RAILWAY TICKET RESERVATION
PPT
Anti Collision Railways System
PDF
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
DOCX
srs for railway reservation system
DOCX
Synopsis on railway reservation system
PPTX
Railway Reservation System.pptx
PPTX
Railway Management PPT.pptx
PPTX
Railway Reservation System initial django.pptx
DOCX
Visual c
PDF
The Design of an MVB Communication Controller Based on an FPGA
PDF
IRJET- Railway Reservation and Route Optimization System with Implementation
PDF
Switching and multicast schemes in asynchronous transfer mode networks
PDF
miniprojectpresentation of engineering college
PPTX
Find my bus
PDF
IRJET- Automatic Metro Train to Shuttle Between Two Stations
PDF
Multi Sensor Railway Track Geometry surveying system Abstract 2107
PPTX
water resources
PDF
Smart parking management system using SSGA MQTT and real-time database
Case study of spiral process model
Indian railway prs system
E-TICKETING ON RAILWAY TICKET RESERVATION
Anti Collision Railways System
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
srs for railway reservation system
Synopsis on railway reservation system
Railway Reservation System.pptx
Railway Management PPT.pptx
Railway Reservation System initial django.pptx
Visual c
The Design of an MVB Communication Controller Based on an FPGA
IRJET- Railway Reservation and Route Optimization System with Implementation
Switching and multicast schemes in asynchronous transfer mode networks
miniprojectpresentation of engineering college
Find my bus
IRJET- Automatic Metro Train to Shuttle Between Two Stations
Multi Sensor Railway Track Geometry surveying system Abstract 2107
water resources
Smart parking management system using SSGA MQTT and real-time database
Ad

Recently uploaded (20)

DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Sustainable Sites - Green Building Construction
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Well-logging-methods_new................
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Geodesy 1.pptx...............................................
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Internet of Things (IOT) - A guide to understanding
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
CYBER-CRIMES AND SECURITY A guide to understanding
Automation-in-Manufacturing-Chapter-Introduction.pdf
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
CH1 Production IntroductoryConcepts.pptx
Sustainable Sites - Green Building Construction
Model Code of Practice - Construction Work - 21102022 .pdf
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
UNIT-1 - COAL BASED THERMAL POWER PLANTS
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Well-logging-methods_new................
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Geodesy 1.pptx...............................................

Railways reservation system using socket programming

  • 1. RAILWAY RESERVATION SYSTEM USING SOCKET PROGRAMMING IN ‘C’ PRESENTED BY UJJWAL MAHAJAN UTKARSH SHARMA RISHABH AGRAWAL SANYAM GARG 500041345 500041161 500041139 500040778
  • 2. ABSTRACT  Railway reservation must be faster and efficient.  Using this program, users can book a ticket without filling a form at the railway reservation counter.  Users can directly choose from the option provided such as book a ticket, cancel a ticket, etc.  If a user selects to book a ticket, ticket would be booked and final amount would be displayed on the screen.  Implemented through socket programming in C language.
  • 3. INTRODUCTION  The Project “Railway Reservation System” aims to provide a mechanism for the railway management to deal with a number of tasks efficiently using this system.  There are three basic tasks under this system which are:  RAILWAY MANAGEMENT  FARE MANAGEMENT  TIMETABLE MANAGEMENT
  • 4. PROBLEM STATEMENT  The existing railway reservation system has many shortcoming associated with it.  In the existing system, railways used to set train reservation levels higher than seating capacity to compensate for passenger cancellation thus wasting time and money for all. With the advent of this project these flaws can be overcome.  The use of Socket programming is going to do extend the reliability & extensibility of the railway and will also improve the user comfort.
  • 5. LITERATURE REVIEW  This project is mainly about railway reservation system using socket programming.  Sockets allow communication between two different processes on the same or different machines. To be more precise, it's a way to talk to other computers [3].  There are many types of sockets mainly- Datagram sockets, also known as connectionless sockets, which use User Datagram Protocol (UDP); Stream sockets, also known as connection-oriented sockets, which use Transmission Control Protocol (TCP) or Stream Control Transmission Protocol (SCTP); Raw sockets, which are typically available in routers and other network equipment- here the transport layer is bypassed, and the packet headers are made accessible to the application [1].  Socket programming is basically programming of sockets which uses some functions, such as, listen(), accept(), etc., to communicate b/w clients and server. [2].
  • 6. OBJECTIVES  To view trains between stations.  To implement a chat server.  To view seats available.  To view status or PNR.  To view train route.
  • 7. METHODOLOGY  File handling is used for storing database.  A chat server linked with the database and clients for requesting the chat server are also created for reservation or cancellation.  If any seat is available for reservation, it would respond on the request else would display a message for waiting.  Basically, two kind of user are available.  TEMPORARY USER.  PERMANENT USER.
  • 8. SYSTEM REQUIREMENTS SOFTWARE REQUIREMENTS:  Operating system Linux.  Programming Language C language.  Compiler. gcc Compiler HARDWARE REQUIREMENTS:  RAM 512 MB  Hard Disk 5 GB
  • 9. SCHEDULE: (PERT CHART) Coding and Testing (4 weeks in November) Software Requirement Analysis & Research (3weeks of September) Implementation (2 weeks) Finish Data Analysis & Learning (last week of August) 3 1 5 6 3 2 Algorithm design (4 weeks of October) 4 Start Figure 1: PERT Chart of Railway Reservation System
  • 10. SCHEDULE OF PERT CHART NAME TIME Requirement analysis Last week of August Design 3 weeks of September Coding 3 weeks Testing 4 weeks in November
  • 11. REFERENCES Web Resources:  www.indianrail.gov.in  www.irctc.gov.in  www.scribd.com Reference Books:  “TCP/IP Sockets in C” by Michael J. Donahoo, Kenneth L. Calvert.  “The pocket guide to TCP/IP Sockets” by Kenneth L. Calvert.