Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

lan messenger problem.

843790Nov 12 2008 — edited Nov 13 2008
hey...
i wanted to write a chat program for a lan...

its my college lan.. i do not have access to server... but i can get admin privileges on any 2 systems(i triad windows netsend facility after starting messenger service), does that mean i have to write a serverless prog.?
anyways this is what i wrote...

http://codeuu.com/images/4/40/SimpleServer.java

http://codeuu.com/images/4/44/SimpleClient.java

i thought if i could run these two files on 2 diff computer..this would work. but it doesnt.. client side never gets that connection.

ques:-
1) i triad running these on my computer after turning modem off. it worked.. maybe because it has 127.0.0.1 as address. and i also triad running it with modem on.. but then i changed address to localhost. it worked again.
i even ran these files on two diff user accounts on windows xp. it worked again.. so what the hell is goin on?

if i want to create a serverless prog.. then how wud i go abt it?

plus if i want to write an internet messenger.. what do i need to learn?.. java EE, servlets,etc....
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 11 2008
Added on Nov 12 2008
2 comments
198 views