lan messenger problem.
843790Nov 12 2008 — edited Nov 13 2008hey...
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....