Instant message client

.. I am currently in a class for java programming, and the such, so I have an understanding of the outline of java, and a desent amount of its workings... this is my second year with it, and my third class.
ok... to my point. I want to write an instant message program the I can use for 2 people... as in me and my brother, on the same network.
we are in the same house, but I wanted to experiment with it, and see what I can get it to do and things of that nature.
I was looking at the knock knock client server app, to see what ind of things it implimented, and method calls and the such.
What would I need exactly to send a message from one computer to the next, and vice versa.
I know I need to open a socket, and have the client server listen for a connection. but how do I get the message to send to it?

The both alternates you are thinking over are fine. But the later one may cause some performance and memory issues.
If you want to go with the first alternate, I suggest you to develope your owen server using ServerSocket and use your own protocol for communication between client and server over the sockets. Because using HTTP protocol will slow down your entire application. It adds overhead because each request passes through the servlet container.

Similar Messages

  • Instant Messaging Client that works without data plan

    Hello,
    I was wondering if anyone knew of an instant messaging client that works without a data plan (ie. Wi-Fi only)?
    The native GTalk only works with a data plan and a multi protocol one like IMO.I'm only works with a data plan.
    Thanks,
    gajariam

    the "MSN Messenger" is now called "Windows Live Messenger", and will be retired by Microsoft before april 2013 (source: http://blogs.skype.com/en/2012/11/skypewlm.html ), and your current contacts will be merged with Skype.
    Unfortunately, there is currently no Skype client from Microsoft or from RIM released for BlackBerry devices. There are some third party softwares that enable you to benefit from Skype IM, but personally I have no reason to trust them and give them my credentials to skype/WLM.
    So for a long-time forecast, I do not encourage you to go through the WLM path.
    and about Google Talk, I do not know if using BIS is part of the requirements.
    my advice is to ask the carriers in your country if they have a small package voice+sms+BBm.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Instant Messaging Client

    Hi All,
    I am planning to built an Instant Messaging Client say for Yahoo or MSN or so on.Is it possible for us to get the specification of the protocol that is used.
    If anyone of you have worked on this, Please help me.
    Please direct me a good link for this, I have been searching for this quite alot... :-(
    Thank You

    the "MSN Messenger" is now called "Windows Live Messenger", and will be retired by Microsoft before april 2013 (source: http://blogs.skype.com/en/2012/11/skypewlm.html ), and your current contacts will be merged with Skype.
    Unfortunately, there is currently no Skype client from Microsoft or from RIM released for BlackBerry devices. There are some third party softwares that enable you to benefit from Skype IM, but personally I have no reason to trust them and give them my credentials to skype/WLM.
    So for a long-time forecast, I do not encourage you to go through the WLM path.
    and about Google Talk, I do not know if using BIS is part of the requirements.
    my advice is to ask the carriers in your country if they have a small package voice+sms+BBm.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Instant Message client - server communication

    Hi,
    I am writing an instant message application that has central server and many connected clients. When one client writes a message to the server, the server echoes the message to all concerned clients
    My server is a servlet, running on a J2EE web server. My client should run on Windows operating system and communicate with the WIN32 API.
    My problem is:
    The server is written in JAVA and my client should use the WIN32 API (in order to add its icon to the Windows tray for instance). How should I perform the client - server communication? What protocol/technology should I use? Should I write my client in C++ and from the server open a socket and perform HTTP requests? It looks too low level to me and not the �right� approach. Does it make sense to write my client in java and let it use JNI? And if yes, what is the preferred way of client � server communication?
    Is there any good reference I can use?
    Thanks

    The both alternates you are thinking over are fine. But the later one may cause some performance and memory issues.
    If you want to go with the first alternate, I suggest you to develope your owen server using ServerSocket and use your own protocol for communication between client and server over the sockets. Because using HTTP protocol will slow down your entire application. It adds overhead because each request passes through the servlet container.

  • Installing instant messaging client....

    Hi, I've got a boss who is trying to run the instant messaging, he has - XP professional with IE6, but it is asking for some .cab files...
    any ideas..?

    Hi, I've got a boss who is trying to run the instant
    messaging, he has - XP professional with IE6, but it
    is asking for some .cab files...
    any ideas..?Do you control the server? or are you trying to use a site managed by someone else?
    The applet page include the following
    <OBJECT ....
    codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-win32.cab
    The .cab URL is used to automatically download java.
    If the cab url in the applet page is wrong you will get an error.
    You can avoid this problem by downloading and installing java 1.4 as opposed to relying on the auto-dowload feature.

  • Network instant messaging client

    I am trying to write a messaging program over the internet with Java to talk with my cousins who are in India. Here's the code for the client side:
    import java.net.*;
    import java.io.DataInputStream;
    import java.io.DataOutputStream;
    import java.io.IOException;
    import java.io.PrintStream;
    import java.net.Socket;
    import javax.swing.*;
    public class MessagingClient {
         public static void main (String args []) {
              Socket s = null;
              DataInputStream recieveMessages = null;
              try {
                   s=new Socket("<cousin's ip>", 1337);
                   System.out.println("Connected.");
                   PrintStream sendMessages=new PrintStream(s.getOutputStream());
                   recieveMessages=new DataInputStream(s.getInputStream());
                   sendMessages.println("Hello. Are you reading this?");
                   while(true) {
                        JOptionPane.showMessageDialog(null, recieveMessages.readLine());
                        String sendThings = JOptionPane.showInputDialog("What do you want to send to the other person?");
                        sendMessages.println(sendThings);
              catch(Exception e) {
                   System.out.println(e);
    }Here's the server side:
    import java.io.DataInputStream;
    import java.io.IOException;
    import java.io.PrintStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    import javax.swing.*;
    public class MessagingServer {
         public static void main(String[] args) {
              try {
                   ServerSocket s = new ServerSocket(1337);
                   Socket chat = s.accept();
                   DataInputStream recieveMessages = new DataInputStream(chat.getInputStream());
                   PrintStream sendMessages = new PrintStream(chat.getOutputStream());
                   while(true) {
                        JOptionPane.showMessageDialog(null,recieveMessages.readLine());
                        String sendThings=JOptionPane.showInputDialog("What do you want to send the person currently connected?");
                        sendMessages.println(sendThings);
                        s.close();
              catch (IOException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
    }I have given the server side to my cousin and he runs it just fine. But, whenever I try to connect by running the client side, the connection times out. It great works on the two computers on my network.

    Is your cousin behind a router or firewall? That can prevent you from reaching the server. If so, you may need to forward the port on the router or add an exception to the firewall on the server-side so that you can connect. By the way, I am only assuming this is the problem without looking at or trying your code, because you said it worked on your network but not externally.

  • I Need Information about  Open Source Java Client/Server Instant Messaging

    I need your valuable help and collaboration with the following issue:
    I need to know where can find a robust Open Source Java Instant Messaging Client/Server Application.
    I thank in advance for their valuable time. And for the attention and the collaboration lent to me.

    I was going to mention that right off, but since the OP is clearly unaware of the search engines on the Web, I thought I'd give him a hand. Jabber works pretty good - I tried it a while back and some of the clients were ... quirky.

  • Alternative instant messaging application

    as you guys might know,
    the windows live messenger 7 for mac is severely limited in function.
    is there an alternative FREE MSN application that supports BOTH the following functions that I need
    - Webcam video chats using iSight,
    - Handwriting function for sketching/drawing

    Hi,
    This page mentions most of the instant messaging clients out there and their feature sets:
    http://en.wikipedia.org/wiki/Comparisonof_instant_messagingclients
    Not too many support whiteboards (drawing/sketching) so your choices are limited.

  • Instant Messenger - Instant Messaging IM Client in...

    Dear All,
    Somebody tell me how to find IM client in N97. I had this IM client hidden in my previous Firmware. I used to find from HELP menu. After updating this new firmware, almost everything worked fine but IM client is missing even from Hidden. I want to use Yahoo Messenger. Kindly avoid giving me advice on getting some third party messaging clients. I have lots. Not satisfied with those. Kindly give me some ideas to make one or find one which is from NOKIA or YAHOO. This is absolutely ridiculous to ignore the importance of IM. NOKIA has come up with a cheap firmware, it works like something created in late 2007. And its hardware, they could have come up with 256MB RAM and 600 MHz Processor. I feel ashamed to get the first N97 in my city. No Multi touch. I wonder what nokia's R&D is doing. We have paid to its R&D with our previous NOKIA mobile phones to get this output?
    With Disappointment,
    Disappointed Jin

    Vector-sync wrote:
    I have the same problem: the installer doesn't accept the ip address of the machine where it is installing the software.Given that we never got confirmation as to what the problem was for the original poster, how about we start this again.
    Which "installer" precisely refuses the IP address (what is the name of the installer)?
    What version of software are you trying to install (e.g. instant messaging 7.2 that comes with comm-suite-5 for example)?
    What version of OS are you running (cat /etc/redhat-release)?
    Regards,
    Shane.

  • How do i delete all previous skype instant messages / past conversations with contact from laptop

    Hello please how can i delete all old messages or clear past conversations with a skype client, that is am using my laptop.

    Mark_Twain wrote:
    Hi, I had the same kind of issue as you have. I've solved it by using http://community.skype.com/t5/Windows-desktop-client/how-do-i-delete-all-previous-skype-instant-messages-past/m-p/3041626/highlight/true#M248637
    Dear Readers,
    Please be advised that this software is not tested by Skype, and is not in any way a Skype-affiliated app; therefore, you need to be very careful using it.
    Regards,
    Elaine
    Community Moderator

  • �Is Sun System Instant Messaging a Multiplatform Open Source Application?

    This Because I am searching a highly Compatible Open Source WEB Enable Client/Server Application or a robust Multiplaform Instant Messaging System for Academic Purposes.
    I searching to obtain a WEB Enable Instant Messaging Application Open Source in Java like MSN Messenger Client/Server for Academic Purposes?
    I find Jabber as an alternative Instant Messaging solution but the clients and servers Applications there aren't highly compatibles.
    I thank in advance for their valuable time. And for the attention and the collaboration lent me.

    I believe there are currently two open source J2EE 1.3 compliant appservers:
    JOnAs http://jonas.objectweb.org/
    JBoss http://www.jboss.org/
    Both have beta versions of their J2EE 1.4 offers. If what you are looking for is not actually open source but simply free as in beer, then Sun's appserver is a rather attractive option. It's already J2EE 1.4 certified because it is the J2EE 1.4 reference implementation. You can download it as part of the J2EE SDK from here http://java.sun.com/j2ee/1.4/download-sdk.html

  • Instant messaging

    Hi All,
    This Question is Just for General knowledge,
    Is there any way of sending a Instant message from a R/3 client to a BW client. I heard there are some sendings ,thru which v can send message from Cross clients ( r/3 to bw and vice versa)
    The message just pops Up like a information window.
    Does any1 know this.
    Waiting For reply.
    thanks

    Hi,
    Please check this out....
    http://help.sap.com/saphelp_nw70/helpdata/EN/08/56cd370c38152be10000009b38f8cf/frameset.htm
    http://help.sap.com/search/highlightContent.jsp
    http://help.sap.com/search/highlightContent.jsp
    Please grant points..
    Regds,
    Pousali

  • Intraoffice instant messaging software for Windows and Mac

    Can anyone recommend instant messaging software between Mac and Windows platforms?
    My employer doesn't want to use the traditional IM clients — AIM, MSN, etc., — for security reasons. He'd like something that would only connect members of the same LAN.
    Thanks.

    I would suggest Jabber, it has a lot of features and you are not restricted to one IM client. Also supports iChat.

  • Sending instant message (Office Communicator) via Abap

    Hello,
    does anybody know how to send messages to the Office Communicator with Abap? The Office Communicator is an instant messager from Microsoft, I guess it uses standard SIP-technology. I consider this as useful just for sending any sorts of notifications.
    Does anybody have a good idea?
    Rgds
    Thomas

    Hi,
    Is a client proxy able to send the whole (3MB) message to PI
    yes it is capable.
    If both solutions are feasible,what would be preferable?
    yes both solutions are feasible ,but preferable is to send the whole message rather than one by one.
    How do both options compare in regard to performance?
    sending whole message is far more better than sending record by record.
    regards,
    pradeep A.

  • Is Sun ONE Instant Messaging completely written in Java?

    The server and client are written in Java. The multiplexor is written in C.

    Sun ONE Instant Messaging essentially consists of 3 key components: the IM Server, the IM Multiplexor(s), and the IM client. IM does require a directory server and a web server but these are not part of the IM product. There is no need to distinguish between the IM Server and the Multiplexor since the Multiplexor may be considered part of the server. The multiplexor was done for a particular reason: to bypass the current Java VM's inability to handle more than 3000 concurrent connections.

Maybe you are looking for

  • How to use a value in a field

    Hi! I made a tree that shows data from 2 tables. When i pick one of the items in this tree, The tree gives me the ID and put it in a text field. Now, I want an event that gives me some values using this ID and later fill some text fields in the same

  • I cannot open itunes on my computer i have re installed and get msvcr80.dill error

    i cannot open itunes iget a error msvcr 80.dill after reinstalling itunes and cannot sync i phone or i pad

  • Methods to Back up iCal Calendars

    I'm researching 3 methods of backing up my iCal information. 1.) Choosing "Back up Database" from the File menu in the iCal application. This creates a .icbu file with the date attached for you to save in any location you specify. 2.) Choosing "Expor

  • Install database in WindowsME - Please Help

    Hi I am trying to install Oracle personal edition for 98 on ME, The Database Config Assistant fails to install? Also when I start the database it asks for password which i never had an option to set. I tried "scott" "tiger" "sysadmin"........ nothing

  • Filter referenced pictures located in a specific directory

    I'm trying to consoliate all my pictures to a directory structure on external disk.   Most of my files 16K files are located there.    Of those 16K files, I have 6K files that are located on my local storage (MBA).    I would like to create a filter