How to find the host name of a client?

Iam doing a project in grid computing. I have developed a client-server program. In that program I have to get the host name of the connected client. Can anyone tell me the code to do that?

sure...
Its the .getInetAddress().getHostName().getPort() methods...
Good Luck.

Similar Messages

  • How can I find the Host Name and Instance #

    I am having trouble finding the host name and instance #. Thanks in advance.

    Hi Kyle,
    Hope you are doing good.
    if it is the R/3 server, the easiest option would be to navigate to /nSm51 .  
    Hope this helps.
    Kind Regards,
    Hemanth
    SAP AGS

  • How to find the File name using the FTP Adapter

    hi all,
    how to find the File name using the FTP Adapter with BPEL.
    Regards

    Found the solution for this.
    First In the mediator's routing rule use assign property $in.property.jca.file.FileName to $out.property.jca.file.FileName
    In the BPEL's receive activity go to the properties tab and get the property to a BPEL variable. That should do it.
    Thanks for the posts

  • How to find the column name and table name with a value

    Hi All
    How to find the column name and table name with "Value".
    For Example i have value named "Srikkanth" This value will be stored in one table and in one column i we dont know the table how to find the table name and column name
    Any help is highly appricatable
    Thanks & Regards
    Srikkanth.M

    2 solutions by Michaels (the latter is 11g upwards only)...
    michaels>  var val varchar2(5)
    michaels>  exec :val := 'as'
    PL/SQL procedure successfully completed.
    michaels>  select distinct substr (:val, 1, 11) "Searchword",
                    substr (table_name, 1, 14) "Table",
                    substr (t.column_value.getstringval (), 1, 50) "Column/Value"
               from cols,
                    table
                       (xmlsequence
                           (dbms_xmlgen.getxmltype ('select ' || column_name
                                                    || ' from ' || table_name
                                                    || ' where upper('
                                                    || column_name
                                                    || ') like upper(''%' || :val
                                                    || '%'')'
                                                   ).extract ('ROWSET/ROW/*')
                       ) t
    --        where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'DEPARTMENTS')
           order by "Table"or
    SQL> select table_name,
           column_name,
           :search_string search_string,
           result
      from cols,
           xmltable(('ora:view("'||table_name||'")/ROW/'||column_name||'[ora:contains(text(),"%'|| :search_string || '%") > 0]')
           columns result varchar2(10) path '.'
    where table_name in ('EMP', 'DEPT')
    TABLE_NAME           COLUMN_NAME          SEARCH_STRING        RESULT   
    DEPT                 DNAME                ES                   RESEARCH 
    DEPT                 DNAME                ES                   SALES    
    EMP                  ENAME                ES                   JONES    
    EMP                  ENAME                ES                   JAMES    
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   SALESMAN 
    EMP                  JOB                  ES                   PRESIDENT
    EMP                  JOB                  ES                   SALESMAN 
    9 rows selected.

  • How to find the technical name

    Hai,
    How to find the technical name of a data source for General Ledger: Balances – Period Breakdown
    Thanks

    Hai
    my question is in General Ledger: Balances – Period Breakdown
    the link is showing General Ledger : Balances , Leadingledger
    I got this link in queries for General Ledger: Balances – Period Breakdown
    http://help.sap.com/saphelp_nw70/helpdata/en/2d/955a73da4d6d41a0a6128caf274ce8/frameset.htm
    But here technical name of info cube is given.But i dont know how to find the technical name of the data source.This might be simple question i think but i am new to SAP
    Thanks

  • How to find the program name of the smart form?

    How to find the program name of the smart form if output type is not known?
    thanks in advance...

    How to find the program name of the smart form if output type is not known?
    thanks in advance...
    T-code SE16
    Enter table name: TNAPR  -> Press enter key
    Enter smartform name in input field(SFORM):  Z_your_smartform_name
    Execute
    you can find  program name under the column PGNAM/Program name.
    Regards
    sudheer

  • How to find the form name attached to AR Open item list

    How to find the form name attached to AR Open item list
    FBL5N -> Correspondance
    Thanks
    Ganesh

    You can find out in SPRO.
    Go to tcode SPRO
    Financial Accounting (New)
    Financial Accounting Basic Settings (New)
    Correspondence
    Define Form Name for Correspondence Print
    Here you will find the form attached to the program.
    To find the attached program to the Correspondence type.
    Go to tcode SPRO
    Financial Accounting (New)
    Financial Accounting Basic Settings (New)
    Correspondence
    Assign programs for the Correspondence Types
    Regards,
    Naimesh Patel

  • How to find the form name  from VA02 T.code

    how to find the form name  from VA02 T.code

    Hi Rajyam,
    I guess you are looking out for the formname which prints sales related documents.
    If this is what you want,then go to the T-code NACE and select the option K1Sales activities and click on the Output Types button on the top.The new window has all the types of Output types listed.Select the most appropriate and double click on the Processing routines button in the left side screen.
    The new window lists the program names and the forms associated with that output type.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • How to find the program name of the created sap query ?

    how to find the program name of the created sap query ?

    Hi avinash,
    Try in this way..
    Go to SE16 and then go to table TSTC.
    in that give program name as <b>*followed by your query name</b>
    (for example *TESTQUERY)
    and run , that will give progname======queryname.
    this way you can find program name.
    vijay

  • How to find the machine name

    How to find the machine name from which the table is created ?
    Yogesh

    Turn on DDL auditing.
    http://www.oracle-base.com/articles/10g/Auditing_10gR2.php outlines some uses ... i'm sure you can find more with a google search.

  • How to find the query name using infoset name

    Hi Experts
           Iam new to the sap queries(SQ01,SQ02), some queries already created.
          now i want to do some modification, my problem is i am not able to find the query name.
          I know the infoset name, can you tell me how to find the query name using the infoset name, is ther any table for this.
    i tried in sq01 also, but its confusion, pls advice me on this.
    thanks in advance.
    regards
    rajaram

    Hi
    try like this..
    SQ02 --> go to --> Query Directory..
    from there you can get all the queries belong to a Infoset.

  • How to find the dsn name from an *.rpd file provided?

    How to find the dsn name from an *.rpd file provided? All the ODBC details which would require to run your dashboard.

    Hi
    DSN name is not a part of .rpd file. So There is no information about DSN name in .rpd file.
    Thanks
    Siddhartha P

  • How do I "scan" my LAN and find the host name of the server computer?

    I need to scan my LAN to find out the IP and host name of the computer in which is waiting for client acceptance because the server side of my program is not always on the same computer. Therefore, the IP and host name of my server is not final and can be placed on any computer on my network with over 50 connected computers. How might I check to see which computer is waiting for a client?
    EDIT: I need the host name only, disregard IP
    Thanks!

    watwatacrazy wrote:
    jwenting wrote:
    Peter__Lawrey wrote:
    If you know the port you can try to connect to each of the machines in turn.the people getting firewall warnings about intrusion attempts would just love that, as would the network admins whose network you're clogging with traffic (imagine several hundred clients doing that all day long, let alone tens of thousands).
    If they are all one the same subnet you can use the IP addresses.Which you don't necessarilly all know. Or do you propose just sweeping through all possible IP addresses in the subnet's range? That would be a sure trigger for your network admins to immediately kick you out.
    This should take a few seconds at most.Until the automatic safeguards kick in and you're thrown off the net :)In that case, what would you suggest?Not to bother. The server address should be part of the application configuration, not guessed at runtime.

  • How to check the host name or rename the host name in Enterprise Manager

    Hello,
    How do i check the host name or rename the host name in Enterprise Manager for Oracle 11g?
    Regards,
    Ming Man

    there is a shell script called chgip or something
    like that is there . I used it for IAS. I beleive the
    same is there for database too
    Rajesh AlexIf there is, I have not been able to find it.
    Off the top of my head, changing the host name involves at least the following (others feel free to add on):
    For listener and connectivity
    - listener.ora
    - tnsnames.ora (on all clients as well)
    - potentially ldap.ora (on all clients as well)
    - init.ora parameter LOCAL_LISTENER
    For admin using Enterprise Manager (starting 10g)
    - the contents of the sysman schema
    - the directory name of the OEM agent directory
    - the directory name of the OEM OC4J config directory
    - various config files in the OEM OC4J config directory
    Oracle provides the emca to handle this last set.
    In addition, the following refer to hosts that are [probably] not local
    - init parameter REMOTE_LISTENER (usually just points to a tnsnames.ora entry naming remote hosts)
    - init parm SMTP_OUT_SERVER
    Again, adding to the list might be interesting.

  • How to find the screen name in a screen?

    Hello experts
    I  am  using loop at screen to make my selection screen dynamic
    please tell me how to find all screen-name of a screen.
    thanks in advance.
    Chitta Ranjan Mahato
    Moderator message: please think about it before asking, you are naming the selection fields yourself in your program, if still in doubt, just debug your "loop at screen"
    Edited by: Thomas Zloch on Nov 9, 2010 12:57 PM

    I am  writing a program where in selection screen there will be two radio button named application server and presentation server when user choose application server screen changes dynamically and the block containg related to appliction server will be displayed in selection screen. to achieve this i have write code like
    at selection-screen output.
    if <radiobutton-name> = 'X'.
    loop at screen.
    {color:green}
    if  screen-name = 'radiobutton-name'.
    {color}
    if scree
    thanks
    chitta ranjan mahato

Maybe you are looking for