Write to and read from TCP/IP address using Flash and Actionscript

Hi,
I'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
Please help. Thank you

bump
Please! anyone! HELP

Similar Messages

  • Could we write and read from a external drive using a IPad?

    √could we write and read from a external drive using a IPad?

    No, the iPad doesn't work that way. The only thing you can access is camera cards (with the adaptor).
    Matt

  • How to read from a HPIB instrument using GPIB software?

    How Can I read from a HPIB instrument using GPIB software and library functions in Visual Basic Environment? In HPIB we do not have to send query first but in GPIB we do? Although writing and sending a command is to a HPIB instrument is pretty much the same as a GPIB instrument. Any help or suggestion?
    Thanks in Advance
    Shazaduh

    HI,
    HPIB and GPIB are the same thing at a low level in terms of instrument communication. They are both compliant with the IEEE 488.2 standard.
    The difference is the driver you have to use. Each manuafacturer has to develop a driver to control the interface ont he host. For National Instruments interfaces you use NI-488.2 (which you refer to GPIB functions). For HP interfaces you need to use the SICL library. For information using this library in Visual Basic you'll have to look at the SICL documentation.
    You can also use VISA (HP-VISA) which would allow you use NI interfaces or other buses in the future.
    Hope this helps.
    DiegoF
    National Instruments.

  • DPM encountered an error while reading from the recovery point used for recovery.

    Hi Guys I'm getting this error:
    DPM encountered an error while reading from the recovery point used for recovery. Either the recovery point no longer exists or, if you
    selected a share for recovery, the path to its contents is missing from the recovery point.  (265)
    The DPM Server is on Windows 2012 DPM is 2012R2 4.2.1273.0
    The Server being backed up is 2012 R2 with DPM Agent 4.2.1273.0
    The Server has 3 Data Volumes (C: Drive) and D and E its the D and E drive that i get this error if i try and recover data from DPM.  the C Drive is fine.  the D and E Drive are different
    in that 1 De-dupe is enabled and 2 the Shadow Copies for these Volumes are stored on separate Disks F and G respectively.
    I've removed the Protection from drives D and E and reinstated it but every recovery point created
    brings up the same error message. I'm not sure where to go next do I need to Protect the Disks that have the Shadow copies on also? Many thanks in advance Gordon.

    Hi,
    It seems you are in a configuration where the Windows 2012 based DPM server does not understand how to read Windows 2012 R2 Dedup data structure which is what the DPM replica volume is.
    See the DPM supported and unsupported scenarios
    here under the deduplication issues section. 
    We have a fix in DPM2012 R2 UR5 that will protect the Windows 2012 R2 dedup volume in a non-dedup state on the DPM Server, but unfortunately that will not allow previous recovery points to be read.
    KB3021791-Description of Update Rollup 5 for System Center 2012 R2 Data Protection Manager
    Backup job for dedupe-enabled volume on Windows 2012 R2 fails. For example, Data Protection Manager backup might fail for following setup:
    Data Protection Manager2012 R2 is installed on Windows Server 2012.
    Data Protection Manager is protecting a dedupe-enabled volume on Windows Server 2012 R2.
    This also applied to restores as the above was for D2D2T backup that may fail as it needs to read the recovery point to back it up to tape.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Regards, Mike J. [MSFT] This
    posting is provided "AS IS" with no warranties, and confers no rights.

  • Repeatedly Changing AXI BAR 0 Address Register but Microblaze Keeps Reading from the Same Address

    Hello,
    I work on a project based on AXI PCIe Bridge.
    What I am trying to do is access a userspace memory block directly from a Microblaze (or DMA).
    So far, I use posix_memalign() to allocate a block of memory in the userspace which has the size of the page (4K).
    Once I allocate this block of memory I fill it with data.
    Then I pass its pointer to my kernel driver where I use get_user_pages() and a few other functions to create a scatter/gather list in order to get the physical addresses of my userspace pages (so far I get one physical address since I have allocated one page).
    The next step is to write that physical address to the AXI BAR 0 address register.
    I validate that the correct address is written at this register.
    Then I ask the Microblaze to read the data from this physical address but I get different data.
    After reading the data I ask the Microblaze to write new ones at this address.
    I repeat all that procedure by allocating new memory block filled with different data in my userspace.
    Then I pass the new physical address again at the AXI BAR 0 address register.
    This time the Microblaze reads the last data it wrote itself.
    It seems like the Microblaze always reads/writes from/to an unknown address even if I repeatedly give different physical address at the AXI BAR 0 address register.
    Are there any suggestions?
    Could this be a cache coherency issue?
    Trying the "cache coherency issue" approach, though, did not solve the problem either.
    I have, also, tried a different case which worked.
    I used pci_alloc_consistent() in my kernel driver and I gave its physical address to the AXI BAR 0 address register.
    Then the MIcroblaze writes and reads data from/to this block of memory correctly.
    The kernel driver verified that the transfers are correct since it read the same data that the Microblaze previously wrote.
    This approach always worked for every new allocated block of memory.
     

    Hello,
    I work on a project based on AXI PCIe Bridge.
    What I am trying to do is access a userspace memory block directly from a Microblaze (or DMA).
    So far, I use posix_memalign() to allocate a block of memory in the userspace which has the size of the page (4K).
    Once I allocate this block of memory I fill it with data.
    Then I pass its pointer to my kernel driver where I use get_user_pages() and a few other functions to create a scatter/gather list in order to get the physical addresses of my userspace pages (so far I get one physical address since I have allocated one page).
    The next step is to write that physical address to the AXI BAR 0 address register.
    I validate that the correct address is written at this register.
    Then I ask the Microblaze to read the data from this physical address but I get different data.
    After reading the data I ask the Microblaze to write new ones at this address.
    I repeat all that procedure by allocating new memory block filled with different data in my userspace.
    Then I pass the new physical address again at the AXI BAR 0 address register.
    This time the Microblaze reads the last data it wrote itself.
    It seems like the Microblaze always reads/writes from/to an unknown address even if I repeatedly give different physical address at the AXI BAR 0 address register.
    Are there any suggestions?
    Could this be a cache coherency issue?
    Trying the "cache coherency issue" approach, though, did not solve the problem either.
    I have, also, tried a different case which worked.
    I used pci_alloc_consistent() in my kernel driver and I gave its physical address to the AXI BAR 0 address register.
    Then the MIcroblaze writes and reads data from/to this block of memory correctly.
    The kernel driver verified that the transfers are correct since it read the same data that the Microblaze previously wrote.
    This approach always worked for every new allocated block of memory.
     

  • Can write, can't read from SSLSocket. No trusted certificate found

    Hello!
    We have to use an ssl connection to talk to another application. The exception is generated when trying to read from the socket. Creation and writing don't generate any errors and I can't verify if the other server actually gets what I'm writing.
    I used these commands to create the private key and the certificate
    openssl genrsa -des3 -out priv.pem -passout pass:myPassword 1024
    openssl req -x509 -new -key priv.pem -passin pass:myPassword -days 3650 -out cert.cerI have imported the cert.cer into the java/jre/lib/security/cacerts keystore. The CN value in the cert.cer is the one I got from the hostname command.
    I still get the error:
    javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate foundJust before reading from the socket I print in the log file the sockets properties:
    is input shut down? false
    is output shut down? false
    is bound? true
    is closed? false
    is connected? trueAm I suppose to do somethin with the priv.pem? Where does that one go? Isn't the cert.cer enough?
    I don't know what else to do and how to check anything else. Any ideas would be greatly appreciated.
    Thank you very much,
    Iulia S.

    Hi again,
    I am at wits' end in here and I hate it when I move in the unstable grounds of not knowing stuff. I am still getting the error.
    I managed to get the certificate from the other application, it's not self-signed it's issued by Thawte. Apparently you can also get it with FF3 from the cute little lock next to the address bar. Am I talking about the same certificate? Then I did this to import it:
    ./keytool -import -alias bristow -file /location/to/THEcertificate -keystore /location/to/java/jre/lib/security/cacertsAnd I did restart the server. Several times. Several several times.
    Some details about the application: it's a servlet running on a websphere 6.1 server. I noticed that this error is from sun.security.validator.ValidatorException while mine is from:
    javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.h: No trusted certificate foundI can understand they are different packages but shouldn't they implement the same standard protocol? btw there are no com.sun.* classes imported.
    Am I not creating the SSLSocket right?
    SSLSocketFactory sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
    SSLSocket s = (SSLSocket) sslsocketfactory.createSocket("secureSite.com", portNo);The string that defines the hostname, it's just the name, no protocol or anything else, right? I just need someone to confirm it. I've already tried all the other posibilities and they don't work.
    It all crashes at the readLine:
    BufferedReader in = new BufferedReader(new InputStreamReader(s.getInputStream()));
    String input = "";
    while((input = in.readLine()) != null)I ran the php script they gave us as an example, on a different server, and it worked just fine. No certificates needed.
    I've tried reading characters instead of line, just in case this error would be absurdly linked with the no-end-of-line. Same error.
    I'm trying to poke the server with a stick see if I can get a response. I run this from my local machine:
    import java.io.InputStreamReader;
    import java.io.BufferedReader;
    import java.io.PrintWriter;
    import java.net.URLEncoder;
    import java.util.Date;
    import javax.net.ssl.SSLSocket;
    import javax.net.ssl.SSLSocketFactory;
    public class EchoClient
         public static void main(String[] arstring)
              try
                   SSLSocketFactory sslsocketfactory = (SSLSocketFactory) SSLSocketFactory.getDefault();
                   SSLSocket sslsocket = (SSLSocket) sslsocketfactory.createSocket("hostname", 99999);
                   sslsocket.setEnabledCipherSuites(sslsocket.getSupportedCipherSuites());
                   StringBuffer data = new StringBuffer();
                   dataDeTrimis.append("DATA1=").append(URLEncoder.encode("DATA1","UTF-8"))
                   .append("&DATA2=").append(URLEncoder.encode("DATA2", "UTF-8"));
                   String includeHeader = "POST /script/location/script.php HTTP/1.1\r\n" + "Content-Length: " +        data.length() + "\r\n" + "Content-Type: application/x-www-form-urlencoded\r\n" + "\r\n" + data;
                   BufferedReader in = new BufferedReader(new InputStreamReader(sslsocket.getInputStream()));
                   PrintWriter outs = new PrintWriter(sslsocket.getOutputStream(), true);
                   outs.print(includeHeader);
                   String input = "";
                   System.out.println("is input shut down: "+sslsocket.isInputShutdown()+" is output shut down? "+sslsocket.isOutputShutdown()+" is bound? "+sslsocket.isBound()+" is closed? "+sslsocket.isClosed()+" is connected? "+sslsocket.isConnected());
                   System.out.println("server: "+in.read());
                   while((input=in.readLine())!=null)
                        System.out.println("SERVER REPLIED : " + input + "\n");
                   sslsocket.close();
              catch(Exception exception)
                   exception.printStackTrace();
    }The answer is:
    is input shut down: false is output shut down? false is bound? true is closed? false is connected? true
    server: -1Shouldn't I get something even a little bit more significant then just NO answer? sigh
    If I were to explicitly load the keystore will that get me anywhere? I am out of ideas. Anything to point somewhere would be great.
    Thank you very much,
    Iulia S.

  • HT1349 Many times I want to see a particular video, and my iPad will tell me I need flash. From what I have read apple software does not use flash. My question is what app can I purchase for my iPad that will make flash videos work?

    Many times, while I am surfing through the Internet a particular web page will have a video, which requires Flash. iPads do not use Flash. So my question is, what app can I get from the app store will help me views these videos?

    I did a quick search here and came up with a couple, the better of the two appears to be "Photon Flash Web Browser".
    As with any app, read the reviews and decide for yourself. It may or may not work with the sites you need.

  • Kindle-book reader from Amazon. Anyone using it?

    Not sure where else to post this. I am using Leopard and wondering about the compatibility of this device from Amazon. Anyone using it? Does it work with Leopard?
    Thanks,
    Richard

    Apple isn't restricting the Kindle app at all. If you're having problems, it's probably something you need to take up with Amazon support, it being their app and their product.
    Regards.

  • How can I view videos from a website that uses flash player?

    Hi All...having an issue finding an application to use  to view videos on another website that uses flash player. I have Flip for Mac, but this doesn't solve the problem. Without this(Adobe) app, the videos will not run, rendering use of the website usless. Finding more and more issues in trying to use these video tutorials on my iMac/Maverick. Is there any help out there?

    Install Flash Player. Works w/o issues.

  • How do I Only read from TCP/IP listener if there is data?

    In my data acquisition software that I've written, I have a TCP/IP listener to occasionally receive messages from Matlab.  I only want to do that if there are available bytes to be read.  I've thought of setting the mode on the listener to Immediate, but it says in the help that there will still be a timeout error.  The main things that I'm looking at are avoiding timeout errors, and I don't want waiting for the message to interfere with the data acquisition.
    Thanks,
    Alan Stemmons
    [email protected]

    The data acquisition software is running in Labview, while Matlab is running software to control the antenna position.  What I would like to do, is have Matlab send a message when the antenna has arrived at the correct position telling Labview to start acquiring, and then also send a message to Labview telling it when to stop acquiring.  In between this time, while labview is acquiring, Matlab will also send messages to Labview telling where the antenna is pointed.  An example message would be "Az=180, El=45\n".  The purpose for this is to keep a log file of when the antenna moves relative to when data acquisition started.  The problem that I've had when I tried doing this with a TCP/IP read block with a short timeout is that the read buffer overruns.  Basically, I just have a while loop with a Daqmx read block, then the data from that read block is written to a binary file.  In this while loop there is a TCP/IP read block that uses immediate mode with a timeout of 10 ms.  It tries comparing the string that is read to "Stop Acquiring\n".  That is the condition to terminate the the while loop.  I'm not going to worry about the log file until I can actually get it to acquire for the whole time.  It would be nice if there was some way to make this interrupt driven, so it would only pay attention to the tcp/ip read block if there was actually data.  I'm assuming that's where the problem is, although I might be wrong.
    Thank you.

  • How to write data which i am reading from spectrum in excel using Report Generation toolkit.

    Hello All,
     I wrote code for reading data from Spectrum analyzer and also for writing in excel using report generation toolkit. When i run program values get read and excel sheet opens also but i cant see anything written in it.
    So if anyone can help me in this i will be very gald. I am attaching screenshot of my program and also attaching .vi file. As i am using drivers you can see some of vi.
    Thanking You,
    Pallavi 
    Solved!
    Go to Solution.
    Attachments:
    Channel_Power.jpg ‏123 KB
    Channel Power_Toolkit.vi ‏64 KB

    Hi Palavi,
    you try to select a specific worksheet what is not existing, therefore just select "Channel Power" (and not Power Channel) and it should work for you.
    Regards,
    Tobias

  • How can i write to or read from the digital I/O of the SPIDER8 with DIADEM?

    We have the problem that we haven't found out yet how to activate the digital I/O of the HBM SPIDER8 hardware with DIADEM 6.0.

    The digital input is supported since DIAdem 3.02 the output since DIAdem 7.0.
    Maybe that the problem is the following:
    - Analog input will be measured on channel 0 up to 7
    - Digital input will be measured on channel 8 as word
    So if you would like to measure bit 3 you must add a
    F(x)-block with this function getb(d,3).
    I hope this will help you.
    Greetings
    Walter

  • Error attempting to read from file soap address urgent

    while executing the adobe PDF form the above said error is displaying, please give the solution

    Can you please try to explain the complete scenario where you are getting the error?
    Thanks
    Satya

  • Blinoz - Write to and read from memory address

    How do I write to or read from a specific memory address such as Hex 378?

    I may be wrong here but I think this cant be done in pure java.. The solution would be to use jni as you can do this sort of thing with c++....

  • Read from an XML previously created by LabView

    Hi everyone,
    My problem is, as the title says, I need to read Data from an XML file, if the file does not exist, LabView creates it. So far it works. After the creation though, when I go through the subroutine again and want to read the data back from the XML file, it brings me the Error Code 1006 and tells me something about not being able to read it since "the XML-Tag isn't the same type as the type of the variable connected." (roughly translated from German)
    The Variable I want to read something back to is a Cluster consisting of 2 Clusters constisting of 1) two numeric elements and 2) a string and a 1-D array of 12 numeric element.
    The part that's confusing me is, that LabView saved the data itself w/o problems and in its own XML format. So it shouldn't really bring up any problems reading it back to the same variable, now should it?
    If anyone has an answer, I'm happy about anything, this has been driving me nuts the whole day
    Thanks in advance and Regards,
    Pedro
    Solved!
    Go to Solution.

    Hi,
    sorry for my vague description, lets try to fix this:
    For writing the XML-File, I use "Write To XML File.vi", the LabView standard XML writing VI.
    For reading from it again, I use "Read From XML File.vi", also the LabView standard.
    My LabView version is 8.5
    I'll attach some pictures and the created XML file which I hope will be of help.
    "Limits Template.png" is my Cluster to save the data in. As I said previously, the data was written from this very cluster, yet it cannot be read back to it. As you can see in there, the array is created correctly with 12 elements and their corresponding sizes.
    Thanks in advance,
    Regards,
    Pedro
    EDIT: checked again, the error code indeed is 1106
    Attachments:
    Limits Template.png ‏13 KB
    test123788_Limits.txt ‏2 KB

Maybe you are looking for

  • How to open labVIEW 8 file in LabVIEW 7.1

    Hi I want to open a LabVIEW 8 file into LabVIEW 7.1 version? when i tried to open there is an error appiers and I couldnt open it so please give suggestion how to open it.. Thank you 

  • Some emails have the text message that belongs in another email. How can I fix this?

    The message in some emails belongs in another. The "from" and "subject line" does not match what is in the message area. This has only happened since the last upgrade. I haven't changed any of the settings in my Thunderbird email.

  • Install oracle db 11g r2 on Windows 7 Error

    Hi, i install oracle db 11g r2 on windows 7 ultmate and founded error : file not found orandce11.dll.dbl and file not found orancds11r.dll.dbl how to solution ? thanks, Khun

  • Pls Help with a query

    Problem Scope: Two tables with different set of columns, Only common column being "emplid"--employee id. table1 has 2 columns "emplid" and "effdt"- effective date. table2 has 3 columns "emplid", "start date" and "end date". So structure of the tables

  • Spotlight is indexing for ages!

    Hi there! I have a MacBook Pro, EY2011, and I recently installed a fresh copy of Mountain Lion, as my old copy was pretty much junked up. Now, the problem is that Spotlight has been rumbling around for ages, and I can only look for existing indexed f