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

What's hot (20)

PPTX
Attendance management system
SHIVANGI GOEL
 
PDF
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Nitesh Singh
 
DOCX
E-TICKETING ON RAILWAY TICKET RESERVATION
Nandana Priyanka Eluri
 
DOCX
Online railway reservation system
PIYUSH Dubey
 
RTF
Railway Reservation Documentation
Kunwar Singh
 
DOCX
Online attendance management system
Deepankar Sandhibigraha
 
DOCX
Documentation of railway reservation system
Sandip Murari
 
PDF
19701759 project-report-on-railway-reservation-system-by-amit-mittal
satyaragha786
 
PDF
Usr tour and tra vel mini project report
Ravindra Chaudhary
 
PPTX
Online Food Ordering System
Ankita Jangir
 
PPT
railway reservation software documentaion
Joveria Beg
 
PDF
Railway Reservation System - Requirement Engineering
Danish Javed
 
DOC
Srs template
brijesh c.g briju
 
PDF
Railway Reservation System - Software Engineering
Lalit Pal
 
PPTX
Travel Package Management System
Santanu Pattanayak
 
PPTX
Presentation on Railway Reservation System
Priyanka Sharma
 
PPTX
Online doctor appointment and emr system
Anjelika Parasar
 
DOCX
ER diagrams for Railway reservation system
Soham Nanekar
 
DOCX
ER diagrams for blood bank management system
Soham Nanekar
 
PDF
University/College Transport management system Documentation
Gaurav kumar rai - student
 
Attendance management system
SHIVANGI GOEL
 
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Nitesh Singh
 
E-TICKETING ON RAILWAY TICKET RESERVATION
Nandana Priyanka Eluri
 
Online railway reservation system
PIYUSH Dubey
 
Railway Reservation Documentation
Kunwar Singh
 
Online attendance management system
Deepankar Sandhibigraha
 
Documentation of railway reservation system
Sandip Murari
 
19701759 project-report-on-railway-reservation-system-by-amit-mittal
satyaragha786
 
Usr tour and tra vel mini project report
Ravindra Chaudhary
 
Online Food Ordering System
Ankita Jangir
 
railway reservation software documentaion
Joveria Beg
 
Railway Reservation System - Requirement Engineering
Danish Javed
 
Srs template
brijesh c.g briju
 
Railway Reservation System - Software Engineering
Lalit Pal
 
Travel Package Management System
Santanu Pattanayak
 
Presentation on Railway Reservation System
Priyanka Sharma
 
Online doctor appointment and emr system
Anjelika Parasar
 
ER diagrams for Railway reservation system
Soham Nanekar
 
ER diagrams for blood bank management system
Soham Nanekar
 
University/College Transport management system Documentation
Gaurav kumar rai - student
 

Similar to Railways reservation system using socket programming (20)

PDF
Presentation of Turbo C++ || Railway Reservation System project || B.Sc. student
Jiangxi University of Science and Technology (江西理工大学)
 
PPTX
Train ticket presentation
sazzadur rahman
 
DOCX
-Class-12-Project-Railway-Reservation.docx
manassingh1509
 
PPTX
Presentation system2222 reservation(2).pptx
erbk191
 
PPTX
Presentation reservation system 222.pptx
erbk191
 
PDF
COMPUTER SCIENCE PROJECT OF RAILWAY RESERVATION SYSTEM PYTHON PROGRAMMING.pdf
AkshatTiwari530170
 
PPTX
Railway Reservation System initial django.pptx
Nitin846696
 
DOCX
RAILWAY RESERVATION SYSTEM OOSE PROJECT.docx
poovizhi27be
 
PPTX
Railway Reservation System (2).pptx
someone53414
 
PPTX
10 Networking
Deepak Hagadur Bheemaraju
 
DOC
railway_PROJECT.doc on python my SQL connectivity
vicky9095916747
 
DOCX
srs for railway reservation system
khushi kalaria
 
DOCX
Railway Reservation system Case study of oracle db by cj date
memonsana
 
PDF
Railway management system, database mini project
shashank reddy
 
DOCX
cs project.docx investigatory computer science
rahulrahul45165
 
PDF
KUMARPAWAN (2).pdf
RajKamal754430
 
PDF
CHAT APPLICATION THROUGH CLIENT SERVER MANAGEMENT SYSTEM PROJECT REPORT
Kamal Acharya
 
DOCX
Synopsis on railway reservation system
Ankit Verma
 
PDF
KUMARPAWAN (2)-1-1.pdf
RajKamal754430
 
PDF
-Class-12-Project-Railway-Reservation.pdf
manassingh1509
 
Presentation of Turbo C++ || Railway Reservation System project || B.Sc. student
Jiangxi University of Science and Technology (江西理工大学)
 
Train ticket presentation
sazzadur rahman
 
-Class-12-Project-Railway-Reservation.docx
manassingh1509
 
Presentation system2222 reservation(2).pptx
erbk191
 
Presentation reservation system 222.pptx
erbk191
 
COMPUTER SCIENCE PROJECT OF RAILWAY RESERVATION SYSTEM PYTHON PROGRAMMING.pdf
AkshatTiwari530170
 
Railway Reservation System initial django.pptx
Nitin846696
 
RAILWAY RESERVATION SYSTEM OOSE PROJECT.docx
poovizhi27be
 
Railway Reservation System (2).pptx
someone53414
 
railway_PROJECT.doc on python my SQL connectivity
vicky9095916747
 
srs for railway reservation system
khushi kalaria
 
Railway Reservation system Case study of oracle db by cj date
memonsana
 
Railway management system, database mini project
shashank reddy
 
cs project.docx investigatory computer science
rahulrahul45165
 
KUMARPAWAN (2).pdf
RajKamal754430
 
CHAT APPLICATION THROUGH CLIENT SERVER MANAGEMENT SYSTEM PROJECT REPORT
Kamal Acharya
 
Synopsis on railway reservation system
Ankit Verma
 
KUMARPAWAN (2)-1-1.pdf
RajKamal754430
 
-Class-12-Project-Railway-Reservation.pdf
manassingh1509
 
Ad

Recently uploaded (20)

PDF
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
PDF
A presentation on the Urban Heat Island Effect
studyfor7hrs
 
PPT
Oxygen Co2 Transport in the Lungs(Exchange og gases)
SUNDERLINSHIBUD
 
PDF
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
site survey architecture student B.arch.
sri02032006
 
PPTX
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PDF
PRIZ Academy - Change Flow Thinking Master Change with Confidence.pdf
PRIZ Guru
 
PDF
BioSensors glucose monitoring, cholestrol
nabeehasahar1
 
PPTX
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
PDF
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
PDF
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
PDF
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PPTX
Electron Beam Machining for Production Process
Rajshahi University of Engineering & Technology(RUET), Bangladesh
 
PPTX
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PDF
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
PPTX
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
A presentation on the Urban Heat Island Effect
studyfor7hrs
 
Oxygen Co2 Transport in the Lungs(Exchange og gases)
SUNDERLINSHIBUD
 
ARC--BUILDING-UTILITIES-2-PART-2 (1).pdf
IzzyBaniquedBusto
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
site survey architecture student B.arch.
sri02032006
 
UNIT DAA PPT cover all topics 2021 regulation
archu26
 
PRIZ Academy - Change Flow Thinking Master Change with Confidence.pdf
PRIZ Guru
 
BioSensors glucose monitoring, cholestrol
nabeehasahar1
 
Types of Bearing_Specifications_PPT.pptx
PranjulAgrahariAkash
 
Set Relation Function Practice session 24.05.2025.pdf
DrStephenStrange4
 
Water Design_Manual_2005. KENYA FOR WASTER SUPPLY AND SEWERAGE
DancanNgutuku
 
Statistical Data Analysis Using SPSS Software
shrikrishna kesharwani
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
Electron Beam Machining for Production Process
Rajshahi University of Engineering & Technology(RUET), Bangladesh
 
Benefits_^0_Challigi😙🏡💐8fenges[1].pptx
akghostmaker
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
International Journal of Information Technology Convergence and services (IJI...
ijitcsjournal4
 
Break Statement in Programming with 6 Real Examples
manojpoojary2004
 
Ad

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.