• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Need Help::Any Ideas for a Networking Project involving Socket Programming

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

I am new to this forum.I am taking a networking course and we are required to submit a proposal for a project involving socket programming.Please give me some ideas.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A chat server that can handle multiple clients.
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the JavaRanch.
What have you used a network for?
Email? You could write a POP client. Peer-to-peer filesharing? How about a Bittorrent client? It will help you with your project if you have an interest in what you are researching and creating.
 
Somesh Chitturi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks guys for the help

I am thinking of an Online Reservation System. What do you say .....
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How would that involve sockets?
 
Somesh Chitturi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There would be a server having the database.Each time a person comes for reservstion we will look for the vacant rooms (Eg: a hotel reservation system) by sending a request to the server.If he makes a reservation we will send the reservation info. back to the server.All this comunication between server and client is done using the sockets.

I happend to find a similar example online ... Does this work???

 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oh, so this is a GUI application. Somehow I was picturing a command-line application, and was having trouble visualizing making a reservation using that :-)

Of course, a reservation system would typically be a web app these days, so it's a somewhat unusual use of sockets.
 
Somesh Chitturi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem is the idea of yours multiple client chat server is already proposed by other person and i am thinking the peer to peer networking will be a bit complicated ........ so i got to look for a new one .That is why i came up with this idea..I will be happy if you have any other ideas to share..

anyways thank you very much for your concern...
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Peer to peer will be impossible in a general sense (meaning if the clients are not all on the same network); you'd have to go with a client/server architecture anyway.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic