Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Somesh Chitturi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A chat server that can handle multiple clients.
 
Joe Ess
Bartender
Pie
Posts: 9258
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How would that involve sockets?
 
Somesh Chitturi
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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
  • 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
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic