How can i post a network message through jdk

many client pc (win98) connected with LAN, i am writing a JDK application, i want to send network message to other PC, what sort of classes i should use for this.
Please guide and give some idea

Actually i made a chatting software with having more
than 10 user. But they can only chat when they use
this chat software made in jdk. The user wants to
know about whether he has received any new message
when he is not running the application but he is
using his desktop.Windows (we are talking about Windows, aren't we?) does not normally have something running on the background that can show the user an arbitrary message coming from another computer. There's the NET SEND stuff, but most people have it disabled.
So, to make this possible, there is no other way than to install a program on the user's computers that runs in the background, waits for messages, and shows messages to the user when they arrive. You simply cannot do this without installing and running a program like that on the user's computers.
An alternative idea is to make your chat program send an e-mail to the user. That way, if a user has an e-mail program running, he/she will get notified of a new message through e-mail. The API in Java for sending e-mail is JavaMail.

Similar Messages

  • How can I post a simple message in the User Forum's page, immediately after logging in ?

    I had earlier asked a question re: including Merriam-Webster online dictionary into the list of search engines in the text area to the right of the location bar. I received a very helpful answer from cor-el, using which, I was able to include both the Dictionary and Thesaurus into the said list.
    I WISH TO THANK core-el SINCERELY FOR THIS HELP.
    The question is as follows:
    How can I post such messages directly in the Users Forum's pge?
    - - S.Rajaram

    what is your requirement can you please confirm.
    Regards
    Shobhit S

  • How can i send and receive messages through CAN

    Hi,
    how can i send and receive messages using Vector CAN CARDXL

    As mentioned in this forum post, if you have a dll, this can easily be called from LabVIEW or CVI.
    I also went to the vector website and it does look like they have LabVIEW drivers available for download.
    Peter Flores
    Applications Engineer

  • How can I have my partner messages through HTTPS

    My partners would like to send messages through HTTPS and I see the following in one of the threads. Is this good even for HTTP(S) or only HTTP?
    "ou cannot create HTTP listening channel. There is one default HTTP listening channel which you should use -
    http://hostname:soa_server_port/b2b/httpReceiver or http://hostname:soa_server_port/b2b/transportServlet
    Your remote TP may post documents to above URL's.
    Thanks
    Venkat

    Venkat,
    It stands true for HTTPS as well. The partner should post documents on url (if SSL is enabled on SOA server)-
    https://hostname:soa_server_port/b2b/httpReceiver or https://hostname:soa_server_port/b2b/transportServlet
    If you are using any SSL off-loader at your gateway then the host and port will change accordingly.
    Regards,
    Anuj

  • How can i view all my messages i posted in this form?

    hello,
    how can i view all my messages i posted in this form?
    i can view only the recent message i sent.
    is thier any way to view all my message i posted
    thaks
    daya

    Do a forum Serach for your screen name.

  • How can I stop the Struts messages

    How can I stop getting Struts messages such as:
    RequestProcessor - -Processing a 'POST' for path '/login'RequestProcessor - -Processing a 'GET' for path '/Welcome'
    I cannot deploy my application on the production server because these messages will be all sent to the log files through System.out.
    In one of other postings, someone suggested adding the commons-logging.properties, and the simplelog.properties files to the project. Unfortunately, that didn't help.
    I appreciate your help.

    Struts 1.1 Beta-2 (which JDev 9.0.3, 9.0.3.1, and 9.0.3.2 ship with) has a bug where you cannot silence all of the diagnostics.
    It's been fixed in the Struts 1.1 final release.
    See this article on my web log for how to upgrade the BC4J Toy Store appliacation to use Struts 1.1 Final. You can use the tips to then upgrade your own application, too.
    http://radio.weblogs.com/0118231/2003/07/07.html

  • I need help!!how can i resolve the error message?

         Security.addProvider(new com.sun.crypto.provider.SunJCE());
    KeyGenerator kg = KeyGenerator.getInstance("DES");
    Key key = kg.generateKey();
    Cipher cipher = Cipher.getInstance("DES");
    byte[] data = "Hello World!".getBytes();
    out.println("Original data : " + new String(data));
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] result = cipher.doFinal(data);
    out.println("Encrypted data: " + new String(result));
                   String temp=new String(result); //error occure here!
    cipher.init(Cipher.DECRYPT_MODE, key);
    byte[] original = cipher.doFinal(temp.getBytes()); //if replace temp.getBytes() to result,that's ok��
    out.println("Decrypted data: " + new String(original));
    error message��
    javax.crypto.BadPaddingException: Given final block not properly padded
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA6275)
         at javax.crypto.Cipher.doFinal(DashoA6275)
    and how can i post the key and Encrypted data to columns whose type is varchar in a table in my database,and next time to get the values from my database and translate to key to Decrypte the Encrypted data ?
    thanks!!

    I presume the no-padding error is happening when you attempt to do the decryption. This means, that in some way, you've modified the encrypted data, and the size of the data is not what the cipher object expects. You don't show all your code here, but most likely, you tried to put result into a string (temp?) and when you do your temp.getBytes(), the array of bytes you're getting back is not the same as the array called result in your post.
    Steve

  • How can i print a network configuration page , i need the IP on a ph1510

    how can i print a network configuration page , i need the IP on a ph1510

    Hi,
    What is the exact printer model?
    If it is the HP Deskjet 1510, this is a USB printer and it does not offer any network capabilities.
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • How can you post comments during signal aquisition?

    How can you post comments during signal aquisition? For example, while acquiring your signal, you want to post a comment which the temperature reads at "30 seconds" from your relative start time (t=34 sec into recording)
    I have the LE package where events, alarms, etc cannot be used. Are there other ways that the user can mark an "event" during recording?

    Hey hkim,
    If you know how long it will be before you want a message to pop up you can simply include a sequence structure and in the first sequence have a wait time of your desired length and have the message pop up and display in the second sequence frame. 
    Hope This Helps,
    Doug B
    Applications Engineer
    National Instruments

  • How can we post data from CRM to SAP using ABAP proxies???

    Hi ,
      Can anyone hep me to create interface for the following scenario How can we post data from CRM to SAP using ABAP proxies???, can I find any document ???????
    Thanks in advance
    Andy

    Andy,
    Please look at these weblogs.
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    These should give a good idea about implementing Proxies.
    Regards,
    Ravi

  • How can i transfer video recordings, messages and contacts to computer?

    Hi
    how can i transfer video recordings, messages and contacts to computer... please guide me through..
    regards

    You should read the iPhone user guide. Answers all these questions.

  • How can I scan my network to determine which PC is using static IP or DHCP?

    Hello friends,
    I`m using Spiceworks for couple of days alreadyand need some help on this - In another post i saw that via SpiceWorks I can see how many PCs are using DHCP or Static IP (http://community.spiceworks.com/topic/37663-how-can-i-scan-my-network-for-static-ip-s-without-checki...) but is for previous version of the program. Currently I`m running version 7.4.00059.
    Can someone point me in the right direction where can I fing this information?
    Thank you very much for the help.

    Get a sneak peek of VeeamCloud Connect Replication– Veeam’s new DRaaS technology for service providers:• Leverage the Veeam cloud gateway to set up customer connections, without the need for VPN.• Use proven Veeam replication technology to create standby VMs.• Use Veeam network extension appliances to give customers seamless connections between their production and DR sites.• Allow customers to start failover in a complete self-service way from a mobile-friendly web portal. See you 7/7. -- http://go.veeam.com/webinar-delivering-draas-veeam.htmlNote: This webinar is for service providers. If you’re a Veeam customer interested in using Cloud Connect Replication in Veeam Availability Suite v9, check out this on-demand webinar:http://www.veeam.com/videos/fast-secure-cloud-based-disaster-recovery-veeam-cloud-connect-6345.html

  • How can I fix my text messages I can only text one person from my contacts list is was working fine and now I can only text one person and I do have a plan and like I said I was texting fine   Pls help.  Thanxs

    How can I fix my text messages on my Iphone4s it was working fine but now I can only text one person from my contact list  I do have a plan and have tryed reset the iphone4s Can someone help me pls. Thanxs

    Why post the same information instead of responding to your initial post?
    https://discussions.apple.com/message/17160874#17160874
    Gonna go out on a limb here and say it's probably user error.

  • HOW CAN I SET TIHE NETWORK TIME BECAUSE IT DOESNT ALLOW ME TO SING IN

    HOW CAN I SET TIHE NETWORK TIME in the apple tv BECAUSE IT DOESNT ALLOW ME TO SING IN

    Welcome to the Apple Community.
    Time and date should be set automatically by the network time server. There has been a number of posts reporting this problem. Solutions have involved:
    Restarting the Apple TV by removing ALL the cables for a few moments.
    Restoring the Apple TV.
    Opening port 123 on the router.
    Ensuring the DNS address on both the router and the Apple TV are those provided by your ISP.

  • I am running snow leopard 10.6.8. on my IMAC. How can I post panoramic type pictures to my desktop so that they maintain panoramic dimensions? Thanks

    How can I post panoramic type (and sized) pictures to my desktop so that they maintain panoramic dimensions? I try to do it through systems preferences but they do not maintain panoramic dimensions. Thanks

    Your post is pretty lengthy and I have to admit I didn't read it all. Please try restarting in Safe Mode, if that doesn't work please do both a SMC and PRAM reset. These may take 2-3 attempts.
    SMC RESET
    Shut down the computer.
    Unplug the computer's power cord and all peripherals.
    Press and hold the power button for 5 seconds.
    Release the power button.
    Attach the computers power cable.
    Press the power button to turn on the computer.
    PRAM RESET
    Shut down the computer.
    Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

Maybe you are looking for