hey everyone! i'm in the need of a little help. how do i send a simple text message from one windows box to another that will be displayed on the other windows box screen? ( i.e ) user A sends a "have you visited javaranch" message to user B, the message will automatically displayed on the user A's screen. many thanks, -MCore
I take it that ur trying to send a message from one PC to another. For this to happen you will need to use low level socket programming or high level options such as RMI or CORBA Hope this helps, PJ
[This message has been edited by Prashanth Joisha (edited September 26, 2001).]
I don't know what Net Send is, but generally if you want to use a funny protocol, you have to write the code yourself. Try searching google, sourceforge, or freshmeat for code.
mcore
Greenhorn
Joined: Jul 13, 2001
Posts: 13
posted
0
Net Send: simply sends a message to a user/domain on your network. found it. you can use windows dos command net send like so: class NetSend { public boardCastMsg ( Stringmsg, String ip ) { String arg = "net send " + ip + " " + msg; System.out.println(arg); Process p = Runtime.getRuntime().exec(arg); } } thanks for the help. -MCore
That is really cool. I did not know that a command like that existed. Winpopup was the only means i knew of for 'instant messaging'. Thanks for the info.
Hi, Could pls tell me how to do the pop up windows while sending the instant message from one client to other client Like yahoo, msn and ICQ. The popup window will automatically come if he gets the instant message from other user. Looking forward your earlier reply. Cheers Jowsaki
Originally posted by shilpa kulkarni: That is really cool. I did not know that a command like that existed. Winpopup was the only means i knew of for 'instant messaging'. Thanks for the info.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.