This week's book giveaway is in the Web Services forum.
We're giving away four copies of Microservices in Action and have Morgan Bruce & Paulo A. Pereira on-line!
See this thread for details.
Win a copy of Microservices in Action this week in the Web Services forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Urgent help on Chat Program  RSS feed

 
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I am working on a project where i have to develop a chat for a web site. Can anyone help me in what are the requirements to write a chat applet, i.e what is the logic behind that.
Do i need a chat server to write a chat? if yes , then can i write my own chat server or i have to download or purchase from elsewhere.
I'll be very thankful to u all.
Thanx again
Afroz
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, yes you can write your own server that listens on a port and write the clients as applets that communicate with the server.
I can send you sample code of both if you want.
 
Afroz Khan
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi manuel,
thanx a lot, but it will be very helpful for me if u send the examples.
Thanx a lot
Afroz
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
manuel,
can u also send me those examples. it would be much appreciated. noahman@az.freei.net
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi manuel!
can u send me also the example to "msd_prasad@yahoo.com"
prasad
 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi manuel!
could u pls send me the example to "ws_zhao@yahoo.com"
Thanks
Zhao
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I guess you all had the same homework assignment, huh? It might be better as a learning tool if you tried it on your own but that's just my opinion.
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manuel!
Can you please send me source codes.
Thanks in advance..
Regards,
Deepak Kamboj
deepak.kamboj@usa.net
[This message has been edited by Deepak Kamboj (edited October 21, 2000).]
 
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
As u wanted the logic I am sending the steps that are very important .You can write the code and if you have any problem you can ask me or mail me . I am not sending the code as I feel developing the application urself improves the skills of the persone and will also help u to know more of java
Server
--------
1)Create a server socket using the serversocket class of
2)Assign a port to it
3)accept the data from the client . this port should be continuously lisenting to the port so it should be in a while loop
4)store the details in the hash table of the new user
5)read the entire list and send the message recieved from each the client.
Client
-------
1)Make use of socket. Pass paramater to it (ie the ip address and the port on which the server is listening ).
2)Create a thread for the client class as the client should recieve what ever is send from the client


------------------
Sandeep Jain
 
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear sir
i am a student of enng college with comp sci as my branch . i have to make minor project in nthis semester.
i have thought of making java web server .
ps give me the overall guidance of hoe to design it.
i'll be greatly thankful to you.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by manuel-p:
hi, yes you can write your own server that listens on a port and write the clients as applets that communicate with the server.
I can send you sample code of both if you want.


please send me the code also to p_333_2000@yahoo.com
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear friend
I want trying to make a chatserver from sometime.
Can u send me the code. U would help me a lot.
I thank u from the bottom of my heart.
bapi dhar
bapidhar@mantrafreenet.com
 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sandeep pls elabrote step no. 4 and 5 upto 3rd i have done.
pls
 
yogesh sood
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sandeep pls elabrote step no. 4 and 5 upto 3rd i have done.
pls
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Manuel!
Can you please send me source codes.
Thanks in advance..
kirill@kirill.cjb.net
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi manuel,
can u send me the code too.
thanks inadvance.
coz' i'm currently need to do a chat program for my project. thanks.
annie_csy26@yahoo.com
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!