際際滷

際際滷Share a Scribd company logo
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)

Hard copy of proj doc
Hard copy of proj docHard copy of proj doc
Hard copy of proj doc
nawaldiatm
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
Prince Kumar
Railway Reservation Documentation
Railway Reservation DocumentationRailway Reservation Documentation
Railway Reservation Documentation
Kunwar Singh
Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
Danish Javed
Online Bus Service
Online Bus ServiceOnline Bus Service
Online Bus Service
saurabh kumar
Online reservation system project report(web development)
Online reservation system project report(web development)Online reservation system project report(web development)
Online reservation system project report(web development)
Prachiverma50
Synopsis on railway reservation system
Synopsis on railway reservation systemSynopsis on railway reservation system
Synopsis on railway reservation system
Ankit Verma
Documentation of railway reservation system
Documentation of railway reservation systemDocumentation of railway reservation system
Documentation of railway reservation system
Sandip Murari
Online Bus ticket reservation
Online Bus ticket reservationOnline Bus ticket reservation
Online Bus ticket reservation
Smit Patel
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom System
Nikhil Vyas
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SADProject report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Nitesh Singh
Indian railway reservation problems rsdo report file
Indian railway reservation problems rsdo report fileIndian railway reservation problems rsdo report file
Indian railway reservation problems rsdo report file
Rajeev Singh
Online Bus Reservation System
Online Bus Reservation SystemOnline Bus Reservation System
Online Bus Reservation System
A-Tech and Software Development
19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal
satyaragha786
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
Arohi Khandelwal
Railway Reservation System
Railway Reservation SystemRailway Reservation System
Railway Reservation System
Roccers
Online Bus Reservation System
Online Bus Reservation SystemOnline Bus Reservation System
Online Bus Reservation System
Siva Rushi
online bus ticket booking system
online bus ticket booking systemonline bus ticket booking system
online bus ticket booking system
Umme habiba
Air line reservation system software engeniring
Air line reservation system software engeniringAir line reservation system software engeniring
Air line reservation system software engeniring
Asfand Sheraz Khan Niazi
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation system
KOYELMAJUMDAR1
Hard copy of proj doc
Hard copy of proj docHard copy of proj doc
Hard copy of proj doc
nawaldiatm
Online Railway Reservation System
Online Railway Reservation SystemOnline Railway Reservation System
Online Railway Reservation System
Prince Kumar
Railway Reservation Documentation
Railway Reservation DocumentationRailway Reservation Documentation
Railway Reservation Documentation
Kunwar Singh
Railway Reservation System - Requirement Engineering
Railway Reservation System - Requirement EngineeringRailway Reservation System - Requirement Engineering
Railway Reservation System - Requirement Engineering
Danish Javed
Online Bus Service
Online Bus ServiceOnline Bus Service
Online Bus Service
saurabh kumar
Online reservation system project report(web development)
Online reservation system project report(web development)Online reservation system project report(web development)
Online reservation system project report(web development)
Prachiverma50
Synopsis on railway reservation system
Synopsis on railway reservation systemSynopsis on railway reservation system
Synopsis on railway reservation system
Ankit Verma
Documentation of railway reservation system
Documentation of railway reservation systemDocumentation of railway reservation system
Documentation of railway reservation system
Sandip Murari
Online Bus ticket reservation
Online Bus ticket reservationOnline Bus ticket reservation
Online Bus ticket reservation
Smit Patel
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom System
Nikhil Vyas
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SADProject report RAILWAY TICKET RESERVATION SYSTEM SAD
Project report RAILWAY TICKET RESERVATION SYSTEM SAD
Nitesh Singh
Indian railway reservation problems rsdo report file
Indian railway reservation problems rsdo report fileIndian railway reservation problems rsdo report file
Indian railway reservation problems rsdo report file
Rajeev Singh
19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal
satyaragha786
Airline Reservation System
Airline Reservation SystemAirline Reservation System
Airline Reservation System
Arohi Khandelwal
Railway Reservation System
Railway Reservation SystemRailway Reservation System
Railway Reservation System
Roccers
Online Bus Reservation System
Online Bus Reservation SystemOnline Bus Reservation System
Online Bus Reservation System
Siva Rushi
online bus ticket booking system
online bus ticket booking systemonline bus ticket booking system
online bus ticket booking system
Umme habiba
Air line reservation system software engeniring
Air line reservation system software engeniringAir line reservation system software engeniring
Air line reservation system software engeniring
Asfand Sheraz Khan Niazi
Railway reservation system
Railway reservation systemRailway reservation system
Railway reservation system
KOYELMAJUMDAR1

Similar to Railways reservation system using socket programming (20)

Case study of spiral process model
Case study of spiral process  modelCase study of spiral process  model
Case study of spiral process model
minal kumar soni
Indian railway prs system
Indian railway   prs systemIndian railway   prs system
Indian railway prs system
Atindya K Ghosh
E-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONE-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATION
Nandana Priyanka Eluri
Anti Collision Railways System
Anti Collision Railways SystemAnti Collision Railways System
Anti Collision Railways System
Ankit Singh
Train ticket reservation
Train ticket reservationTrain ticket reservation
Train ticket reservation
sazzadur rahman
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
Performance evaluation of bandwidth optimization algorithm (boa) in atm networkPerformance evaluation of bandwidth optimization algorithm (boa) in atm network
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
Editor Jacotech
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
khushi kalaria
Railway Reservation System.pptx
Railway Reservation System.pptxRailway Reservation System.pptx
Railway Reservation System.pptx
Nitin846696
Railway Management PPT.pptx
Railway Management PPT.pptxRailway Management PPT.pptx
Railway Management PPT.pptx
SandeepKumar81296
Railway Reservation System initial django.pptx
Railway Reservation System initial django.pptxRailway Reservation System initial django.pptx
Railway Reservation System initial django.pptx
Nitin846696
Visual c
Visual cVisual c
Visual c
mrshymah
The Design of an MVB Communication Controller Based on an FPGA
The Design of an MVB Communication Controller Based on an FPGAThe Design of an MVB Communication Controller Based on an FPGA
The Design of an MVB Communication Controller Based on an FPGA
IJRESJOURNAL
IRJET- Railway Reservation and Route Optimization System with Implementation
IRJET-  	  Railway Reservation and Route Optimization System with ImplementationIRJET-  	  Railway Reservation and Route Optimization System with Implementation
IRJET- Railway Reservation and Route Optimization System with Implementation
IRJET Journal
Switching and multicast schemes in asynchronous transfer mode networks
Switching and multicast schemes in asynchronous transfer mode networksSwitching and multicast schemes in asynchronous transfer mode networks
Switching and multicast schemes in asynchronous transfer mode networks
Editor Jacotech
miniprojectpresentation of engineering college
miniprojectpresentation of engineering collegeminiprojectpresentation of engineering college
miniprojectpresentation of engineering college
linatalole2001
Find my bus
Find my busFind my bus
Find my bus
Sameer Nainawat
IRJET- Automatic Metro Train to Shuttle Between Two Stations
IRJET- Automatic Metro Train to Shuttle Between Two Stations   IRJET- Automatic Metro Train to Shuttle Between Two Stations
IRJET- Automatic Metro Train to Shuttle Between Two Stations
IRJET Journal
Multi Sensor Railway Track Geometry surveying system Abstract 2107
Multi Sensor Railway Track Geometry surveying system Abstract 2107Multi Sensor Railway Track Geometry surveying system Abstract 2107
Multi Sensor Railway Track Geometry surveying system Abstract 2107
ioshean
water resources
water resourceswater resources
water resources
unliya
Smart parking management system using SSGA MQTT and real-time database
Smart parking management system using SSGA MQTT and real-time databaseSmart parking management system using SSGA MQTT and real-time database
Smart parking management system using SSGA MQTT and real-time database
TELKOMNIKA JOURNAL
Case study of spiral process model
Case study of spiral process  modelCase study of spiral process  model
Case study of spiral process model
minal kumar soni
Indian railway prs system
Indian railway   prs systemIndian railway   prs system
Indian railway prs system
Atindya K Ghosh
E-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATIONE-TICKETING ON RAILWAY TICKET RESERVATION
E-TICKETING ON RAILWAY TICKET RESERVATION
Nandana Priyanka Eluri
Anti Collision Railways System
Anti Collision Railways SystemAnti Collision Railways System
Anti Collision Railways System
Ankit Singh
Train ticket reservation
Train ticket reservationTrain ticket reservation
Train ticket reservation
sazzadur rahman
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
Performance evaluation of bandwidth optimization algorithm (boa) in atm networkPerformance evaluation of bandwidth optimization algorithm (boa) in atm network
Performance evaluation of bandwidth optimization algorithm (boa) in atm network
Editor Jacotech
srs for railway reservation system
 srs for railway reservation system srs for railway reservation system
srs for railway reservation system
khushi kalaria
Railway Reservation System.pptx
Railway Reservation System.pptxRailway Reservation System.pptx
Railway Reservation System.pptx
Nitin846696
Railway Management PPT.pptx
Railway Management PPT.pptxRailway Management PPT.pptx
Railway Management PPT.pptx
SandeepKumar81296
Railway Reservation System initial django.pptx
Railway Reservation System initial django.pptxRailway Reservation System initial django.pptx
Railway Reservation System initial django.pptx
Nitin846696
Visual c
Visual cVisual c
Visual c
mrshymah
The Design of an MVB Communication Controller Based on an FPGA
The Design of an MVB Communication Controller Based on an FPGAThe Design of an MVB Communication Controller Based on an FPGA
The Design of an MVB Communication Controller Based on an FPGA
IJRESJOURNAL
IRJET- Railway Reservation and Route Optimization System with Implementation
IRJET-  	  Railway Reservation and Route Optimization System with ImplementationIRJET-  	  Railway Reservation and Route Optimization System with Implementation
IRJET- Railway Reservation and Route Optimization System with Implementation
IRJET Journal
Switching and multicast schemes in asynchronous transfer mode networks
Switching and multicast schemes in asynchronous transfer mode networksSwitching and multicast schemes in asynchronous transfer mode networks
Switching and multicast schemes in asynchronous transfer mode networks
Editor Jacotech
miniprojectpresentation of engineering college
miniprojectpresentation of engineering collegeminiprojectpresentation of engineering college
miniprojectpresentation of engineering college
linatalole2001
IRJET- Automatic Metro Train to Shuttle Between Two Stations
IRJET- Automatic Metro Train to Shuttle Between Two Stations   IRJET- Automatic Metro Train to Shuttle Between Two Stations
IRJET- Automatic Metro Train to Shuttle Between Two Stations
IRJET Journal
Multi Sensor Railway Track Geometry surveying system Abstract 2107
Multi Sensor Railway Track Geometry surveying system Abstract 2107Multi Sensor Railway Track Geometry surveying system Abstract 2107
Multi Sensor Railway Track Geometry surveying system Abstract 2107
ioshean
water resources
water resourceswater resources
water resources
unliya
Smart parking management system using SSGA MQTT and real-time database
Smart parking management system using SSGA MQTT and real-time databaseSmart parking management system using SSGA MQTT and real-time database
Smart parking management system using SSGA MQTT and real-time database
TELKOMNIKA JOURNAL

Recently uploaded (20)

only history of java.pptx real bihind the name java
only history of java.pptx real bihind the name javaonly history of java.pptx real bihind the name java
only history of java.pptx real bihind the name java
mushtaqsaliq9
GM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptxGM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptx
crdslalcomumbai
Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...
dhanashree78
Multi objective genetic approach with Ranking
Multi objective genetic approach with RankingMulti objective genetic approach with Ranking
Multi objective genetic approach with Ranking
namisha18
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
J. Agricultural Machinery
health safety and environment presentation
health safety and environment presentationhealth safety and environment presentation
health safety and environment presentation
ssuserc606c7
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptxRAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
JenTeruel1
TM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdfTM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdf
ChungLe60
Industrial Valves, Instruments Products Profile
Industrial Valves, Instruments Products ProfileIndustrial Valves, Instruments Products Profile
Industrial Valves, Instruments Products Profile
zebcoeng
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptxUNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
KesavanT10
Mathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptxMathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptx
ppkmurthy2006
04 MAINTENANCE OF CONCRETE PAVEMENTS.ppt
04  MAINTENANCE OF CONCRETE PAVEMENTS.ppt04  MAINTENANCE OF CONCRETE PAVEMENTS.ppt
04 MAINTENANCE OF CONCRETE PAVEMENTS.ppt
sreenath seenu
CFOT Fiber Optics FOA CERTIFICATION.pptx
CFOT Fiber Optics FOA CERTIFICATION.pptxCFOT Fiber Optics FOA CERTIFICATION.pptx
CFOT Fiber Optics FOA CERTIFICATION.pptx
MohamedShabana37
Water Industry Process Automation & Control Monthly - March 2025.pdf
Water Industry Process Automation & Control Monthly - March 2025.pdfWater Industry Process Automation & Control Monthly - March 2025.pdf
Water Industry Process Automation & Control Monthly - March 2025.pdf
Water Industry Process Automation & Control
decarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptxdecarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptx
gonzalezolabarriaped
Power Point Presentation for Electrical Engineering 3-phase.ppt
Power Point Presentation for Electrical Engineering 3-phase.pptPower Point Presentation for Electrical Engineering 3-phase.ppt
Power Point Presentation for Electrical Engineering 3-phase.ppt
Aniket_1415
Taykon-Kalite belgeleri
Taykon-Kalite belgeleriTaykon-Kalite belgeleri
Taykon-Kalite belgeleri
TAYKON
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
ssuserd9338b
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo
only history of java.pptx real bihind the name java
only history of java.pptx real bihind the name javaonly history of java.pptx real bihind the name java
only history of java.pptx real bihind the name java
mushtaqsaliq9
GM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptxGM Meeting 070225 TO 130225 for 2024.pptx
GM Meeting 070225 TO 130225 for 2024.pptx
crdslalcomumbai
Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...Air pollution is contamination of the indoor or outdoor environment by any ch...
Air pollution is contamination of the indoor or outdoor environment by any ch...
dhanashree78
Multi objective genetic approach with Ranking
Multi objective genetic approach with RankingMulti objective genetic approach with Ranking
Multi objective genetic approach with Ranking
namisha18
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
Optimization of Cumulative Energy, Exergy Consumption and Environmental Life ...
J. Agricultural Machinery
health safety and environment presentation
health safety and environment presentationhealth safety and environment presentation
health safety and environment presentation
ssuserc606c7
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptxRAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
RAMSES- EDITORIAL SAMPLE FOR DSSPC C.pptx
JenTeruel1
TM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdfTM-ASP-101-RF_Air Press manual crimping machine.pdf
TM-ASP-101-RF_Air Press manual crimping machine.pdf
ChungLe60
Industrial Valves, Instruments Products Profile
Industrial Valves, Instruments Products ProfileIndustrial Valves, Instruments Products Profile
Industrial Valves, Instruments Products Profile
zebcoeng
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptxUNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
UNIT 1FUNDAMENTALS OF OPERATING SYSTEMS.pptx
KesavanT10
Mathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptxMathematics_behind_machine_learning_INT255.pptx
Mathematics_behind_machine_learning_INT255.pptx
ppkmurthy2006
04 MAINTENANCE OF CONCRETE PAVEMENTS.ppt
04  MAINTENANCE OF CONCRETE PAVEMENTS.ppt04  MAINTENANCE OF CONCRETE PAVEMENTS.ppt
04 MAINTENANCE OF CONCRETE PAVEMENTS.ppt
sreenath seenu
CFOT Fiber Optics FOA CERTIFICATION.pptx
CFOT Fiber Optics FOA CERTIFICATION.pptxCFOT Fiber Optics FOA CERTIFICATION.pptx
CFOT Fiber Optics FOA CERTIFICATION.pptx
MohamedShabana37
decarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptxdecarbonization steel industry rev1.pptx
decarbonization steel industry rev1.pptx
gonzalezolabarriaped
Power Point Presentation for Electrical Engineering 3-phase.ppt
Power Point Presentation for Electrical Engineering 3-phase.pptPower Point Presentation for Electrical Engineering 3-phase.ppt
Power Point Presentation for Electrical Engineering 3-phase.ppt
Aniket_1415
Taykon-Kalite belgeleri
Taykon-Kalite belgeleriTaykon-Kalite belgeleri
Taykon-Kalite belgeleri
TAYKON
Lecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptxLecture -3 Cold water supply system.pptx
Lecture -3 Cold water supply system.pptx
rabiaatif2
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
IPC-9716_2024 Requirements for Automated Optical Inspection (AOI) Process Con...
ssuserd9338b
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptxGROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
GROUP-3-GRID-CODE-AND-DISTRIBUTION-CODE.pptx
meneememoo

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.