wu :: forums
« wu :: forums - help develop messenger (javA) »

Welcome, Guest. Please Login or Register.
May 17th, 2024, 8:45pm

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   general problem-solving / chatting / whatever
(Moderators: Grimbal, Icarus, Eigenray, ThudnBlunder, william wu, SMQ, towr)
   help develop messenger (javA)
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: help develop messenger (javA)  (Read 3051 times)
priya_singhal
Newbie
*





   


Posts: 7
help develop messenger (javA)  
« on: Nov 9th, 2010, 3:59am »
Quote Quote Modify Modify

Hey guys..
 
I want to code a messenger client that not only we used for chatting but will also work as FTP client (file transfer protocol). Also an extension of the messenger code a will be such that : during a practical   teacher will be able to draw algorithms flow charts on one screen that will be immediately transferred to the screens of all the students attending the practicals.
 We will also try to support question-answering system where-in a student can ask question on the screen itself and teacher can answer it again on the screen, along with a feature : saving this entire session and re-playability.
 
 
The irony with me is, I dont know how to start and from where?
 
please help. Cool Huh
IP Logged
towr
wu::riddles Moderator
Uberpuzzler
*****



Some people are average, some are just mean.

   


Gender: male
Posts: 13730
Re: help develop messenger (javA)  
« Reply #1 on: Nov 9th, 2010, 7:54am »
Quote Quote Modify Modify

Do you want a peer to peer system (clients talk to each other), or will you use a central server (clients talk to server, server relays messages/files etc)?
 
In principle, once you have a connection, the communication part shouldn't be too hard, because every one of these things is just passing messages, and telling the client what type of message it is (chat, file, drawing, question).  
For replayability you could log the whole communication stream; so perhaps having everything go through a server would be best.
After that you can handle each part separately from the rest. Chat would be simplest, because you just need to display the message, without doing anything with it.  
For file transfer you need to work with the OS, and manage permissions and IO.  
For screen drawings you need to decide what sort of canvas to use and how to transmit drawings. SVG (vector graphics) might work, because you can just transmit every element as it's drawn/modified, and delete them if needed. I don't know if Java has a standard SVG library though; but it would probably beat having to transmit a bitmap every second or more.
Question/answering system is similar to chat, but you need to manage how/which questions go to the board (so wiseguys don't use it to broadcast rude jokes)
« Last Edit: Nov 9th, 2010, 7:55am by towr » IP Logged

Wikipedia, Google, Mathworld, Integer sequence DB
priya_singhal
Newbie
*





   


Posts: 7
Re: help develop messenger (javA)  
« Reply #2 on: Nov 11th, 2010, 1:11am »
Quote Quote Modify Modify

thanks it will help a lot... Smiley Cheesy
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board