Using Swing how can we create socket and send data thru TCP/IP on the socke

Hi All,
Can anyone tell the link or answer to me about the Socket programming using Swing and data get & post onto the socket.
Thanx & Regard
Ashu

swing is nothing to do with socket programing, you need to code using core java and API of net
so please go through this link [http://www.javaworld.com/javaworld/jw-12-1996/jw-12-sockets.html]

Similar Messages

  • How can i create PR and if there is some change in the PR due to wrong calc

    Dear all,
    I wanted to know how can i create PR, and is that simple? Ok, while creating PR, when i will come to know that stock entered here is less that the actual stock that was mentioned, but due to some error, how can i change it, how is that possible?

    1981,
    You have posted this question in the wrong forum.  Such topics are covered in the MM forum
    SAP ERP - Logistics Materials Management (SAP MM)
    You can easily create a new PR in ECC using transaction ME51N
    You can easily change an existing PR in ECC using transaction ME52N.
    Best Regards,
    DB49

  • I have a windows computer. How can I create apps and put them on itunes?

    I have a windows computer. How can I create apps and put them on itunes?

    You can't. The iOS SDK requires Mac OS X and an Intel Mac; Windows applications can't be put on either the iOS or Mac OS X App Stores.
    (82889)

  • How can i create Header and items in SMART FORM

    Hi Experts,
    How can i create Header and items in SMART FORM in the below driver program.
    _Header fields_
    SELECT BUKRS BUDAT GJAHR CPUDT USNAM BLART BELNR XBLNR BLDAT WAERS KURSF
      FROM BKPF INTO CORRESPONDING FIELDS OF TABLE IT_HEAD WHERE BELNR IN S_BELNR AND BUDAT IN S_BUDAT AND GJAHR EQ S_GJAHR AND BUKRS EQ S_BUKRS AND CPUDT IN S_CPUDT AND USNAM IN S_USNAM.
    Item firlds
    SELECT BUZEI BSCHL SGTXT SHKZG KOSTL PRCTR WERKS WRBTR HKONT KUNNR ZFBDT FROM BSEG INTO CORRESPONDING FIELDS OF TABLE IT_ITEM
      FOR ALL ENTRIES IN  IT_HEAD WHERE BELNR = IT_HEAD-BELNR AND GJAHR = IT_HEAD-GJAHR AND BUKRS = IT_HEAD-BUKRS.
      LOOP AT IT_HEAD.
    MOVE-CORRESPONDING IT_HEAD TO FINAL.
        LOOP AT IT_ITEM
        WHERE BELNR = IT_HEAD-BELNR.
          MOVE-CORRESPONDING IT_ITEM TO FINAL.
    ENDLOOP.
    ENDLOOP.
    Regards,
    Sreedhar.

    for these internal tables you can pass some Identifier  for both tables.
    in header file : IT_HEAD
    IDENT   type  char10,
    BUKRS type BUKRS,
    BUDAT type BUDAT,  like
    in header file :IT_ITEM
    IDENT   type  char10,
    BUZEI type BUZEI,
    BSCHL type BSCHL,  like  in item data
    you need to fille the  IDENT value like
    IT_HEAD:
    10 -- DE01-- 10.20.2009
    20 -- CH01-- 10.20.2009
    IT_ITEM
    10 -- 1234-- KSCHL value  like all records
    10 -- 2345-- KSCHL value  like all records
    10 -- 6783-- KSCHL value  like all records
    20 -- 3452-- 1KSCHL value  like all records
    20 -- 4532-- KSCHL value  like all records
    20 -- 4535-- KSCHL value  like all records
    in smartform you need to create 2 tables.
    or create
    LOOP  with IT_HEAD
    table with IT_HEAD
    table with IT_ITEM
    and put the condition for each table in  DATA tab where condtion  like IDENT = IT_HEAD-IDENT
    in item table also INDENT = IT_ITEM-INDENT..

  • Using pages, how can I create a label run from contacts

    Using pages, how can I create a label run from contacts?

    You mean you want to use XML to create a flat file, right? Not that the database is using XML in some way? If so, why do you want to use XML?

  • I have an iCloud email address on my iMac. How can I create an icloud email address for my wife on the same computer?

    I have an iCloud email address on my iMac. How can I create an icloud email address for my wife on the same computer?

    If all you want is an additional email address you can create up to three 'email aliases'  - these are additional addresses (not accounts) which deliver into the same inbox as the main account.
    You should be aware before you start that once you've created an alias you cannot turn that address into a full iCloud account, move it to another account, or reactivate it if you delete it.
    More information on aliases here:
    http://help.apple.com/icloud/#mm6b1a490a
    If you want to keep her email separate from yours she will need to create a new Apple ID, and use it to create a new iCloud account either on a separate computer or on a separate User Account on your Mac.

  • I cannot log in my game center using a same nickname after i updated my phone to ios 7. All my game data i was playing for months is lost. Seems when i try to put my nickname its already in used. How can i recover all my game data back?

    All my game data i was playing for months was lost. Seems when i trie to put my nickname its already in used. So i need to put a new nickname then it create a whole new acc for me. All my previous data was lost. How can i recover my all my data or use my old nickname? Pls help  

    kerryp123
    Yes, it is the same with me. I know a friend how upgraded to iso7 and lost all of his game center data. He tried singning in and re singning in but no change. Plus on to of all of this, apple is like have me and him to re-validate our itunes acount. Somthing weried is going on. So verified my itunes acount and it shows under settings that I am signed in, but when I go to  the app store on my iPhone and try downloading or even updating a app, it says "can not conect to itunes store" after singing in! AND I'M NOT SURE I AM GOING TO UPGRADE TO ISO7 YET UNTILL THEY FIX THIS BUG!!!! HELP!

  • How can we create a table with more than 64 fields in the default DB?

    Dear sirs,
    I am taking part in the process of migrating a J2ee application from JBoss to SAP Server. I have imported the ejb project.
    I have an entity bean with 79 CMP fields. i have created the bean and created the table for the same also. but when i tried to build the dictionary, i am getting an error message as given below,
    "Dictionary Generation: DB2:checkNumberOfColumns (primary key of table IMP_MANDANT): number of columns (79) greater than allowed maximum (64) IMP_MANDANT.dtdbtable MyAtlasDictionary/src/packages"
    Is it mean that we can not create tables with fields more than 64?
    How can i create tables with more than 64 fields?
    Kindly help,
    Thankyou,
    Sudheesh...

    Hi,
      I found a link in the help site which says its 1024 (without key 1023).
    http://help.sap.com/saphelp_nw04s/helpdata/en/f6/069940ccd42a54e10000000a1550b0/content.htm
      Not sure about any limit of 64 columns.
    Regards,
    S.Divakar

  • How can I create prefilled and editable PDF's on a Linux server with PHP?

    I can create PDF's with editable form fields (extended features?) and serve those to our users and I can pre-fill form fields with data from the database using FDF, but then the PDF throws an error and the end user can't fill out the remaining fields (in Reader, it still works in Pro).
    I've tried 2 open source approaches already, but the end result is either a fillable form or a pre-filled form. I can't seem to do both at the same time.
    I've looked around adobe.com and frankly there's just so much stuff there that isn't even applicable it's staggering. I am completely lost and resorting to asking a question on a forum. I've searched these forms (and others), but anything related to this problem have no answers. I'm sure there's a way to do it.
    If I try to set the PDF to fetch the FDF using a http post/submit (can I get it to do that when it loads?) I would still have to get an id number into the query string or object on a per document basis (some how?) and that means editing the PDF server side which breaks the structure which then throws the error on the client side and I'm right back at the beginning again.
    At this point, it looks like it's going to take less time to simply create the form in HTML with a unique CSS file for the print version using a PNG for visual elements instead of a PDF. Not a great way to go for printing, but it would only take a day to set up. The time to create new forms is the issue. I don't want to spend 8 hours creating new HTML forms when I can do a PDF in 2 hours. Is it more efficient to go with an Adobe solution or roll my own HTML version?
    All I want to do is help the users save some time by pre-filing part of the form so they can print it.
    Any advice?

    Ok, I hope someone can move this to the Adobe Reader for Android forum, where you will find the experts you need.

  • How can I create public AND private access with a wireless VPN router?

    I am thinking about getting one of the new pre-n wireless routers that has a builtin VPN.  I will need to have a private net for my office and a public net for my customers.  On the private side- my employees will need to access all network resources and servers etc.  On the public side, my customers just need to get to the Internet and maybe print on that side too.
    Both sides will be DHCP.
    Can I set this up with 1 device ro do I need 2?  How can I do this?  Any help is greatlu appreciated.
    Thanks all.
    Message Edited by Gman on 10-14-200607:08 PM

    The only safe way to do this is to creat user groups On your server and give specific assess to the users who log into the network.
    Using a single router , bifurcating a public from a private network is not possible.You will not be able to use the VPN since the users hav e to be connected to the VPN to log into your network.

  • How can i create inputschedule and Reoprt in single work sheet???

    Hi experts,
    Can you please tell me how do i create input schedule and report in one single work sheet???
    Also please share How to guide of the same if you know.
    Regards,
    Charly

    Hi charly, your question is quite interesting, obviously using workbook options you can either set your workbook to an Input Schedule or Report.
    If you need to submit data, then obviously the workbook option has to be Input Schedule.
    assuming you are using EVDRE's which are updateable as long as the Current View permits and Input Schedule flag is set:
    If you define 'report' loosely as an area of the excel workSHEET which is read only, then you can lock the cells of the report area and use excels protect worksheet function.
    If you are using EV formulae to return data (such as evget, evsnd) then you can use the EVGET function to ensure data is only flowing one way.
    Hope this helps,
    Hiren

  • How can I create a loop in a multi-record block (on the background)

    I have a multi-record block.
    In one item I change a value.
    Upon this change, in the when-validate-item I would like to
    change other records in the same block.
    I planned to loop the block with go_record and to do my things
    in each record. Unfortunately the go_record built-in is
    restricted and cannot be used in a wvi-trigger.
    Another approach can be to update the records in the database
    and to perform an execute_query after this change. Also this
    procedure cannot be used in a wvi.
    How can I easily loop in a multi-record block???

    You can try to put loop with go_record in KEY-NEXT-ITEM on that
    field.
    Or if you change something and then press KEY-COMMIT you can
    update another records in database and after commit do again
    execute_query. Something like :
    on KEY-COMMIT:
    update_another_records;
    commit_form;
    execute_query;

  • How can i write max and min data online during acquisition

    Hello,
    I am not keen with programming and your help will be greatly appreciated.
    I make temperature acquisition from an IR camera and I record online 38 different spots at a frequency of 10 samples/min.
    I also record two temperatures from thermocouples at the same sampling rate.
    I would like to make the acquisition during 5 sec every 20 sec and extract the max and min temperature from the thermocouples and write these values in a text file like show below :
    Temp_max 5 sec 22.1
    Temp_min 5 sec 2.1
    Temp_max 10 sec 42.1
    Temp_min 10 sec 4.1
    Temp_max 15 sec 82.1
    Temp_min 15 sec 6.1
    I also would like to make the same with two or three different spots of the IR camera. I think that if I have a good solution for the thermocouple, I can make it for the camera.
    I use LabView 8.2 with NIDaqmx acquisition.
    Thank you in advance

    Hello Evrem,
    Thank you for your advice. In fact, I have already attended to the training course you mentioned. I should think about going to the module Basic II. I do not have problem to connect/pilot various type of instruments but I am not very efficient with loop and arrays !
    I am fine with the data acquisition and the timing and I can sort data during 5 sec with "Array max & min". Then, I can display all data. What I have problem to do is to extract the max & min from the array, keep these 2 values for being writtten in a file at the end of my loop and start again during the next 5-sec cycle. At present, I only have the last max & min results from the last acquisition !
    Any example of how recording max & min online during 5-sec cycle acquisition will be welcome.
    Best regards,
    Labdummy

  • How can I save images and text data to the same file?

    I have been looking at ways to do this for a while. My main VI saves the raw data to a text file which the users then import to Excel and plot. I am trying to simplify this process and have been looking at ways to accomplish this task. I want to be able to save the raw data to a file and then save the Labview graph as well. This will eliminate the tedious task of importing the raw data into Excel and plotting it. I can save the raw data to its own file and I can use the Get Image method for the graph and save it to its own file. I am currently using the .png format. Is there a way of saving both to the same file ie, importing the image into Excel or Word etc. Before I go off doing a science project I wanted to see if anyone else had experience completing this task and had any recommendations. Thanks in advance for any help.

    well ther are a couple of ways. You could use the standard report generation VI's and make a complete report with the image of the graph embedded into the report with the raw data or you could use activeX and control excel thru LV and put the raw data into excel directly and have excel graph the data without any user interaction. I have posted a slew of VI's on the excel board if you do not have the report generation toolkit. If you could tell me which way you want to go I could possibly send you an example.
    For more information and some sample VI's and tool kits, you can go to the excel board
    Joe.
    "NOTHING IS EVER EASY"

  • How can I share Quicken and other apps with another user on the same iMac?

    I would like to share some apps including Quicken with anoter user on the same iMac. I have put the Quicken app and the .QFX file in /usrs/share and changed the permissions to R/W on both files but when I log in as the other user and run Quicken it does not use the .QFX file and instead comes up with no accounts.

    The Quicken app. should be in the Applications folder at the root of Macintosh HD. It's accessible to all users from there.
    To share a file, (this from Finder Help menu)
    "Sharing files with others who use your computer
    You can share files with others who use your computer by placing the files in the Public folder in your home folder. Anyone with an account on your computer can read or copy the items you put in your Public folder (except for your Drop Box folder, which only you can open).
    To share files using your Public folder:
    Copy the files you want to share into your Public folder, inside your home folder.
    To give a copy of a file directly to another person, copy it to their Drop Box folder (inside their Public folder), where only they can see it."
    When opening a file just double-click the file - it will open the application automatically.

Maybe you are looking for