• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

windows pop up message

 
mcore
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
pjoisha
Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
mcore
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there a way to use "Net Send" with java?
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ( String msg, String ip ) {
String arg = "net send " + ip + " " + msg;
System.out.println(arg);
Process p = Runtime.getRuntime().exec(arg);
}
}
thanks for the help.
-MCore
 
shilpa kulkarni
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
timothy zimmerman
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is pretty cool. It will also resolve names so you can either use the ip or the computer name.
 
Ian Darwin
author
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A variety of posts mentioned one particular platform-dependant
instant messaging program.

For a "cross-IM-platform" instant messaging, which does have at least one Java client, check out Jabber.

Jabber can talk to AIM, ICQ, IRC, etc., from a single client.
------------------
Ian Darwin,
Author of Java Cookbook: Solutions and Examples for Java Developers
 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic