Help for creating chatting software

hello friends,
i tried of preparing chatting software, i built serversocket , client software, it works fine on the same machine, but when i run client socket on different maching, it gives exception, my teacher says, i have to use RMI for that, what things i need to know for preparing chatting software??

What gives an exception, what kind of exception, and under what circumstances? Could you tell us a little more about your design?

Similar Messages

  • Need help for creat apple id in iphone 5s

    need help for creat apple id in iphone 5s

    See this support document for instructions. http://support.apple.com/kb/HT2731

  • Please Help for Create Animated_Gif

    Hello All i recently Create a Animated Gif file for a Site and for creating it i have use 4 JPEG image and add all by Photoshop>Animation with Frmae time 4sec. When i have save it and set Dither 100% and Optimize 100% but now image show scattered .when uploaded on website please look at http://www.printsasia.com/
    Please suggest how to get Good Quality in GIF image.my all JPEG image has Good Quality
    Please Check all JPEG images

    First thing is you are mistaking the quality of jpg vs gif. There is no way to get the same quality as a jpg, it just does not have enough colors. If you took a jpg image and converted to grayscale, then it would have the same number of colors even though they all would be shades of gray. Gray is color so...
    Jpg does not support transparency, layers or animations which is why it is not a good candidate for web animations. If you need full color, full transparency, and/or animations then you amy want to consider flash. Currently it is the only format for the web that supports all 3 and layers.
    That being said, png does have a sister format for animations but is not supported in all web browsers.
    Another alternative is quicktime, or windows media. Each can play in a web browser if the plugin is installed they both support full color and transparency (the latter supported under certain circumstances {correct codec}) But not all users have either or both video players installed, so most of the time it will work, but there is that chance.
    The lastest version of HTML is suppose to support the quicktime format but I don't know enough about how well it is supported via HTML and the number of Browsers. But it is an option that is worth keeping an eye on.
    So for a gif file...
    Keep in mind that the entire file that includes all frames must maintain a maximum of 256 colors with 1 of the colors reserved for transparency. Which is the reason for harsh borders on a transparent edge of the image. Not enough shades for transparency to have a smooth gradation.
    Even though your second image may work fine, odds are the first image will not and will look as you put "scattered". Simply because each of those books are made up of multiple shades of that color times the number of colors needed for all the books, background, text, etc. Even the reflection effect for the text is made up of multiple shades of that color. So in reality it just does not have enough colors in the table to make the image look smooth.
    I hope this helps some, I am sure it is not quite what you wanted to hear, but if you do a bit of research or throw your hands up and say good enough. You will at least know why and it wasn't you to blame, it is the outdated technology of the gif format.
    Good luck at which ever way you decide to travel...

  • Help for creating classification view in mm01

    hi guys can anybody help on creating classification views in mm01 using bdc recording i need a step by step procedure . since when i tryed in mm01 there are filds like class name i dont know where all these data's to find one more thing is i was asked to create classification view using bdc recording ...please help me with some programs if u have

    Hi,
    You need to use the BAPI 'BAPI_OBJCL_CREATE' to create characteristics for a material.
    The characteristics are need to be passed in the table ALLOCVALUESCHAR.
    If you do not know the values for a particular characteristics then you canmake use of FM
    BAPI_CLASS_GET_CHARACTERISTICS and BAPI_CHARACT_GETDETAIL to get the values.
    Regards,
    Ankur Parab

  • Need help for creating sharepoint sites for both internet and intranet users

    We would like to know what is the best approach to create SharePoint sites for our customers(internet users) and internal employees(intranet users) on the same SharePoint server. Here is the scenario:
    1) A customer posts a document from internet.
    2) This triggers a approval workflow that can only be accessed and executed in the intranet environment. This approval process requires approval's possible modifications to the customer's document.
    3) We would like the customer not to able to check the approval state and the modified document until the document is fully approved and finalized.
    We are pondering if we need to create two sites, one site for customer and the other site is for internal approvers. Or one site is possible. It also looks like we need to somehow copy customer's original document to intranet site and triggers the workflow.
    Any design ideas are helpful. Thank you advance!

    Hi Jason,
    Though it is perfectly possible to have both intranet and internet on the server, it is not a recommended practice. Having both on the same server would have multiple problems, instead me detailing it out, here is a forum thread on which Trevor had given
    enough reasons -
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/9b550c33-6f5f-4cd9-8762-8ff389b747d9/sharepoint-2013-one-farm-to-host-intranet-extranet-internet?forum=sharepointadmin
    If you have valid reason to go with single server, then you can also explore email enabled lists as one option and another one would be using custom sharepoint designer workflow.
    you can also try using event receivers to send documents to intranet site from internet site, process everything and update the document in the internet site.
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if the reply helps you

  • Need some suggestion​s for creating a software based digital I/O counter

    Hi All
    I've been using LabVIEW to sucessfully create a number of fluid level monitoring applications for oil well drilling. bear in mind that I'm a geologist not a software engineer so you may have to talk/type slowly .
    I've been using the USB 6009 & 6008 for these aplications so far, they are however limited by only having 1 counter per DAQ. What i'd like to do (if possible) is use the some of the digital I/O channels as counters. The events i'm attempting to count are simple open/closed pulse signals from a micro switch. The micro switch is attached to a slow running mud pump which is sending up to 3 pulses per second but is usually running at 10-80 pulses per min. The slow cycle rate of these big pumps means I can't use a frequency aplication as they don't seem to work below 1hz.
    I've tried to use a case structure to create a counter but I'm afraid I can't seem to get the logic right to turn the output into a counted output. Anyone got a suggestion for things I could try?
    Thanks
    Kim

    Kim,
    Tttt yyyy pppp iii nnn gggg slowly.
    You described your situation quite clearly.
    As you probably know the digital inputs on the USB-6008/9 are software timed, so you have some uncertainty in the time of any sample.  Depending on your OS that uncertainty will typically be on the order of a few milliseconds but occasionally may be much longer.
    To count the pulses in software requires a combination of several things.
    1. You need to have a data acquisition method which is fast enough to capture each high and low state of the pulses produced by the pump.  For software timed Digital Input a good way to do this is to have an independent, parallel loop which reads the input line rapidly and passes the data or transitions to another loop via a queue.  This is known as the Producer loop in a Producer/Consumer architecture.  Examples come with labVIEW. A 10 ms Wait in the loop is probably appropriate.
    2. You need to convert the digital inputs (levels) into pulses or transitions to be counted.  Suppose you want to increase the count by one every time the logical level changes from False to True. To do this you need to know the previous level and the current level. A shift register is one of the best ways to do this in LV.  Add a shift register to the loop.  Initialize it to False. Connect the result of the Digital Read to the right terminal of the shift regsiter inside the loop.  When that Read is True and the previous value (obtained from the left terminal of the shift register) is False, increment the count value (which is also kept in a shift register) in the case structure.
    3. You did not indicate what you are doing with the counts or what the pulses represent.  Do you need to measure the frequency (or the period which is the reciprocal of the frequency)?  Do you need to accumulate the number of pulses? Over what time period?
    Lynn

  • Need help for NetWeaver MDM Software Download

    <b>Hi.. I need to download Netweaver MDM 5.5 component from marketplace.As MDM not part of 2004s download package so I have to download it separately. I have search all components but i didn't get any link for download. Is anybody can send me download link for MDM ? Your response will be highly appreciated. Thanks is advance.</b>

    Hi..
         Thanks for your response. I have followed following path as per u r response.But after clicking Netweaver there are 5 diff option but no MDM. When i have click on Netweaver then It gives two options NW 2004  or NW 2004s. So please send me direct link for download if possible. It will be great help from your side and highly appreciated.
    software download -> Download -> SAP Installations & Upgrades -> Entry by Application Group -> SAP NetWeaver
    <b>
    SAP NetWeaver
    ADAPTIVE COMPUTING CONTROLLER
    SAP CONTENT SERVER
    TRAINING CONTENT FOR SAP KW
    Technology components releases prior to SAP NetWeaver
    </b>
    Thanks & Regards
    Jignesh

  • A little help for creating a procedure

    Hi,
    I'm new to oracle so i would really appreciate your help. Here is the scenario: i have several table in a database, in one table, let's call it table_a i have some values like: assignment, employee_id, account and so on. In another table, table_b i also have some data the is found in table_a like: employee_id, assignmnet, employee_name... and so on. I must create a procedure to check in table_a by value assignment(pk) and find what assignments are not in table_b and then insert these values in table_b, table_c.... . How do i create the comparison part?

    Hi,
    If It would have to insert only in table_b, then you can go for MERGE, that will be fine instead of procedure.
    Other options would be
    INSERT ALL
    INTO table_b VALUES (<required columns>)
    INTO table_c VALUES (<required columns>)
    SELECT <the columns>
    FROM table_a
    where assignmnet_id not in (select assignmnet From table_b);
    - Pavan Kumar N

  • Help for creating a GREP

    As part of my job i create newspapers, i receive articles with footnotes marked this way: Example(2,4,14) / Example2(5).
    I want to create a GREP that change the numbers and commas inside the brackets (only brackets with numbers) to small footnotes, and if possible, delete the brackets.
    From this Example(2,4) to this Example2,4.
    Here is what i come up with: \([/d,])*
    but it dosent work right, can you help please?
    Second, the articles are in hebrew and english, i want a way to change the font style only for english, how can i do it?
    Regards,
    Avi.

    For Example(2,4,14)
    try:
    Find what: \((\d+,\d+,?\d+)\)
    Change to: $1
    For Example (5)
    Find what: \((\d)\)
    Change to: $1

  • Lsmw help for creating PO

    hi all,
    We are using std batch input program to create PO for lsmw.
    however, field "tracking number" of Me21 transaction is not part of the std batch input program strucuture and on the screen its a required field.
    Please help me on how to include this during load.is there any other alternative?
    jigs

    Hi,
    For Windows 7:
       http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c01867124
    For Windows 8:
      http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c03481733
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Need help for creating class

    i m designing a class named Fan to represent a fan. the class contains:
    Three constants name slow, medium, and fast with values 1, 2 and 3 to denote the fan speed.
    an int data field named speed that specifies the speed of fan(default slow)
    an boolean data field named on that specifies whether the fan is on(default false)
    a double data field named radius that specifies the radius of the fan(default 5)
    a string data field named color that specifies the color of the fan(default blue)
    so here is what i want, a method named toString(that returns the fan speed, color and radius in one combined string.if the fan is not on. the method returns fa n color and radius along with string "fan is off" in one combined string.
    and a test program creates two fan objects assign maximum speed, radius 10, color yellow, and turn it on to the first object. assign medium speed, radius 5, color blue, and tun it off to the second object.
    after i created my two objects this is my output
    speed1 is slow, the fan is off, the radius is5.0Blue
    speed2 is slow, the fan is off, the radius is5.0Blue
    its not the result i want, i know there r somethin wrong with the if statement and the method..but i cannot fix it.
    Thank everyone who can give me some tips or help.
    here is my class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package javaapplication1;
    * @author Administrator
    public class Fan {
        private int speed;
        private boolean on;
        private double radius;
        private String color;
        Fan(int speen, boolean on, double raidus, String color)
            this.speed = 1;
            this.on = false;
            this.radius = 5.0;
            this.color = "Blue";
        public int getSpeed()
            return speed;
        public void setSpeed(int speed)
            this.speed = speed;
        public boolean isOn()
            return on;
        public void setIsOn(boolean on)
            this.on = on;
        public double getRadius()
            return radius;
        public void setRadius(double radius)
            this.radius = radius;
        public String getColor()
            return color;
        public void setColor(String color)
            this.color = color;
        public String fanSpeed()
            String output = "";
           if(speed == 1)
               return output = "slow";
           else if(speed == 2)
               return output = "Medium";
           else
               return output = "Fast";
        public String IsFanon()
            String output = "";
            if(on == false)
                return output = "the fan is off";
            else
                return output = "the fan is on";
    }Here is my main class
    * To change this template, choose Tools | Templates
    * and open the template in the editor.
    package javaapplication1;
    * @author Administrator
    import javax.swing.JOptionPane;
    public class testFan {
         * @param args the command line arguments
        public static void main(String[] args) {
            Fan fan1 = new Fan(3, true, 10.0, "yellow");
            Fan fan2 = new Fan(2, false, 5.0, "blue");
            System.out.println("speed1 is" + "  " +fan1.fanSpeed() + ",  " + fan1.IsFanon() + ", " + "the radius is" +fan1.getRadius() + fan1.getColor());
            System.out.println("speed2 is" + "  " + fan2.fanSpeed() + ",  " + fan2.IsFanon() + ", " + "the radius is" + fan2.getRadius() + fan2.getColor());
    }

    Peter__Lawrey wrote:
    I would not suggest using a variable like "onoff". What would true mean, is it on or off or onoff (alternating)? e.g. an on-off relationship is one which is not clearly on or off for long.
    You could just use an IDE to generate the constructor which would be simpler, however if there is no good reason to have two names for parameters and fields I would make them the same.I was wondering what a "speen" is.

  • Please help for create index for table in db2

    Dear Consultants,
    Our Production Servers have a problem, when user input materials in t-code VA01, the check data take long time to complete.
    I was create a incident on SAP Portal and they recommended to create a new index on table:
    VBRP in the order MANDT, AUBEL and AUPOS.
    but we don't sure how to do this, please help us !
    The SAP consultant message:
    " It was identified that there is one SQL statement which was
    responsible for the majority of the time spent during the VA01
    transaction. It accounted for around 49 seconds.
    The SQL statement was analysed and a selectivity analysis was carried
    out on certain fields specified in the WHERE clause. The statement is
    currently executed via a full table scan which is not an efficient
    access. It is therefore recommended to create a new index on table
    VBRP in the order MANDT, AUBEL and AUPOS. "
    Our System Landscape IS : DEV -> QAS -> Production and DataBase server : db2 9.07 , SAP ECC 6.0, windows server 2008
    Thanks and Best Regards,
    Hien Nguyen

    Hi Deepak,
    Could you please tell me the places where can i post the message for ABAPer, i don't know to choose : ABAP Development , ABAP Testing and Troubleshoo… or somthing else
    Sorry for my amateur !
    Thanks you very much.
    Best Regards,
    Hien

  • I Need help for creating rules - very high values !!

    Hi,
    i have some troubleshooting by creating rules at HFM 11.1.1.3. I have declarate an array where some Data from an Account is stored. Then there should be stored one of the numerical data in another HFM account (f.e. "EB_MITTEL"). The stored data is much higher than the value in the log file ("write2File") showed. If i divide this value by 100000000000000 then the right value will be reported.
    Example: Value in log-file: 16492,8691588785 ("," = decimal-delimiter)
    Value in the Data-Grid: 164.928.691.588.785 ("." = thousands-separator)
    Part of the rule-file:
    Sub
         Dim lMittelWert, lMaxWert, lMinWert
         lMittelWert = 0
         lMaxWert = 0
         lMinWert = 0
         a = 0
         For x = 1 To 13
              If arListe(x) <> 0 then
              lMittelWert = lMittelWert + arListe(x)
              a=a+1
              End if
              If lMaxWert < arListe(x) Then
                   lMaxWert = arListe(x)
              End If
              if x = 1 then
                   lMinWert = arListe(x)
              End if
         Next
         lMinWert = lMaxWert
         For x = 1 To 13
              If lMinWert > arListe(x) and arListe(x) <> 0 Then
                   lMinWert = arListe(x)
              End If
              write2file arListe(x)
         Next
         if a <> 0 Then
              lMittelWert = lMittelWert / a
         End if     
         HS.Exp "A#EB_MITTEL.C1#" & C1Item & " = " & lMittelWert
         HS.Exp "A#EB_MIN.C1#" & C1Item & " = " & lMinWert
         HS.Exp "A#EB_MAX.C1#" & C1Item & " = " & lMaxWert
    End Sub
    I hope someone can help me, many thanks in advance. (and i am so sorry about my bad english)
    Juergen

    VB Scripts using String to number conversions in some languages require special consideration when handling numbers. (e.g. French, German and others that use commas as decimal delimiter).
    Internally, HFM VB Scripts use periods (.) as the decimal delimiter. One workaround is to force the use of decimals and force the Scripting engine to use decimals by declaring the local to be English US with:
    b = setLocale("en-us")

  • Could use some help for creating KPI for Created SharePoint 2010 List Items

    Hello All,
    I am using PPS and connecting to an SP 2010 List as a Datasource.  I'd like to create KPI's against the List showing how many items each individual has created (using the Created column) and set a goal with Indicators showing visual performance (Red,
    Yellow, Green).
    Any guidance is much appreciated!

    I concur with Scott.  Check your Recycle Bin and then also check the Site Collection Recycle Bin.  Once deleted from there, it should free up space.
    As far as the database side of things go, the database would have grown to accommodate the larger list.  If you're trying to recover space on that side of the equation, you'll need to conduct a shrink operation against the database in question.
    I trust that answers your question...
    Thanks
    C
    |
    RSS |
    http://crayveon.com/blog |
    SharePoint Scripts | Twitter |
    Google+ | LinkedIn |
    Facebook | Quix Utilities for SharePoint

  • I need some help , for create some paper on air

    Hi everyone
    I need some help , i work in a static sequence from Tehran street (1 frame), i paint damages on this frame in Photoshop because i need war atmosphere, then i add some smoke and cloud with particular .
    but i think this sequence is not realistic yet
    now i want add some moving paper in air and on street
    do u have any solution for how can i make this paper and moving those
    Thanks a lot
    and pardon me for bad English
    Ali Molavi

    The best tool to add this kind of particle is After Effects.
    If you have the Creative Cloud then I recommend you download that.
    Slightly annoying voice over, but here is a youtube tutorial you can follow top make floating particals. You can adjust it to make it look exactly as you want.
    http://www.youtube.com/watch?v=dq2op6yqvFk&noredirect=1

Maybe you are looking for

  • How to use different (not local) user for NTLM auth in Authenticator?

    Hi All, I use custom authenticator to provide user / passwords to connect to .NET Web Services. I overloaded function getPasswordAuthentication() that returns right user / password combination for the requested URL. It all works perfectly for many ki

  • Problem with partitioning

    Hi all, In my organization, few tables were partitioned recently. But all the rows are going to default partition istead of going to the appropriate partition. So the appliclation team thinks that something wasn't done correctly - rows aren't distrib

  • When rendered, still images appear in low quality

    Hello everyone. I'm facing an interesting dilemna with Adobe Premiere Elements 8. It usually works fine for me, and with time I have learned to fix most of the details that usually bother unexperienced users such as me. What happens is that I'm impor

  • Supplying multiple values to the IN select query

    Hi, I just wanted to know if there is a more efficient way of supplying values to my SELECT IN statement. What we do is, we are given an excel file containing a single column of serial numbers then we format the content for it to be read by pl sql. B

  • Data Type Compatibility - Excel as a database

    Post Author: hollyschulz CA Forum: Data Connectivity and SQL Hello, I put together a quick excel sheet to serve as an extra database, mainly to elaborate on specific users.  I could link the "last name" fields from each table, but this doesn't work i