Can I use socket in code C before use alchemy?

Hello ! I have a C program which create a socket to connect a
server. I want to call this program thanks to the alchemy library
to use in an actionscript program. Is it possible ?
The problem is the instruction sockfd = socket(AF_INET,
SOCK_STREAM, 0); return -1 when I run it in Flex builder (no
problem with the C program compiled with gcc). I don't understand
where is the problem.
Thanks

It is possible to implement socket support in Alchemy as
Flash does support it. There is lots of documentation on the
socket() API available (I use this reference a lot:
http://www.opengroup.org/onlinepubs/000095399/functions/socket.html).
Is it quick? No -- there are lots of little gotchas. I spent about
two weeks of time working on it spread over two months and did not
get it finished. But don't let me discourage you -- I had a lot of
other stuff on my plate at the same time.

Similar Messages

  • Can we use Alchemy with Flash Lite?

    Alchemy can be used with Flash Lite or is it useful only for flash 8?

    Alchemy requires Flash 10 and AS3, neither of which are currently supported by Flash Lite.

  • Adobe - Can you please get your code straight before releasing it !

    The Adobe Creative Cloud CC version is the drop that makes the water in the glass spill over...
    The Creative Cloud App is not at all reflecting anything current etc.. and one has to sign out all the time.
    This is baby-code !
    Lightroom 5 is about the most erratic software I have ever worked with...
    1) Constant Freezes
    2) New Version 5.2 NOT showing in Creative Cloud App
    3) When trying to download manually - ACC app opens and nothing happens
    4) If one selects 2500 Photos in Lightroom and reply a preset to all the images at one WHILE the previews are being updated) LR WILL freeze
    etc etc etc etc
    You really should be testing you software before you release it to the public. You code has been disintegrating the past years and I ann many of the co-workers
    are just waiting for other apps to emerge. What happened to the old adobe ? The quality-makers ????
    I'm on OS X 10.8 and have NO idea what it looks like in the windows world. But I know that you have completely LOST any control over your own apps on OS X!
    I am a very unhappy camper and if this does not change in the near future you are going to have people that littel cure adobe river !

    Hi ;-)
    1) I have used LR since V1 and since V4 this software along with ALL adobes software has been fiercely deteriorating.
    2) Adobe according to themselves ARE reading and responding to these forums... Unless they support pages are as bull as their "alleged" real human behind a chat ;-)
    3) I process around 30,000 images per week in Lightroom (paid work) and let me tell you at that amount of images... This app is not in the pro league... BUT it COULD be... If only adobe would test their software prior to embarkin on the PAYING public... Perhaps because so manu are using pirated versions of adobes software, they have stopped caring.. As a long time paying client I feel *****-slapped !@
    I do NOT beta test for adobe ! If they wanna get rid of their bugs, all they need to do is to contact me and add me to the list.. That will fix at least 100 bugs currently IN the ware... But I highly doubt that they beta test this software... If they do, they should REALLY skim thru their testers and relieve them of their duty - No personal offence meant !

  • Hi,  We use a Mac os window. How can we get Adobe error code 16 problems in premier cs5. Before 6 da

    Hi,
    We use a Mac os window. How can we get Adobe error code 16 problems in premier cs5. Before 6 days premier does not loaded a Audio.
    please help me.

    I think you are posting to the wrong forum.  I'd post this in the Premier forum: http://forums.adobe.com/community/premiere/premierepro_current
    -Carl V.

  • I try to connect to iTunes and it comes up with a box saying "iTunes could not connect to the iPad because it is locked with a passcode. you must enter your code on the iPad before it can be used with iTunes", but i cant enter the code on the iPad

    I try to connect to iTunes and it comes up with a box saying "iTunes could not connect to the iPad because it is locked with a passcode. you must enter your code on the iPad before it can be used with iTunes", but i cant enter the code on the iPad because it is saying "connect to iTunes". Can anybody help?? It is on the new iPad.

    FORCE IPAD INTO RECOVERY MODE
    1. Turn off iPad
    2. Turn on computer and launch iTunes (make sure you have the latest version of iTune)
    3. Plug USB cable into computer's USB port
    4. Hold Home button down and plug the other end of cable into docking port.
    DO NOT RELEASE BUTTON until you see picture of iTunes and plug
    5. Release Home button.
    ON COMPUTER
    6. iTunes has detected iPad in recovery mode. You must restore this iPad before it can be used with iTunes.
    7. Select "Restore iPad"...
    Note:
    1. Data will be lost if you do not have backup
    2. You must follow step 1 to step 4 VERY CLOSELY.

  • HT4061 Forget  iPhone password, when connect to computer "iTunes could not connect to the iPhone because it is locked with a pass code. You must enter pass code on the iPhone before it can be used with iTunes."

    Forget  iPhone password, when connect to computer "iTunes could not connect to the iPhone because it is locked with a pass code. You must enter pass code on the iPhone before it can be used with iTunes."

    You have to restore it using a computer with iTunes per the knowledge base article above.
    With iOS 7, if you have Find My Phone turned on you can login to iCloud from a computer and send an erase signal to the iPhone to clear it...that will erase all content and settings.

  • How do I get itunes to accept my credit card information?  If I enter Mastercard, it won't keep the security code.  If I enter a Visa, it tells me I can't use that card even though that is the card I was using before the Mastercard

    I have updated my account.  I have a Mastercard as my method of payment now after switching from a Visa.  My phone and computer will not retain the security code for this card, so I can't access the store on my devices.  I tried switching back to the Visa card and iTunes tells me I can't use that card

    The card information must exactly match the issuing bank's billing records precisely. Often this is not a discrepancy with the security code, but an address or ZIP code that is not an exact match.
    iTunes Store: My credit card's security code or zip code does not match my bank's records

  • Can we use MS C++ Socket code to send to a labview socket vi?

    See above.

    No, the VIs you are referring to in LabVIEW use National Instruments DataSocket technology. This is not the same as Windows Sockets communication that you are referring to from Visual C++. They are not compatible to be used together. We do provide libraries for Visual C++ for DataSocket that come with our Measurment Studio package. Measurement Studio includes classes like CNiDataSocket that can be used to communicate with the LabVIEW DataSocket VIs.
    Best Regards,
    Chris Matthews
    National Instruments

  • How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your repl

    How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!

    It's good to read Antoniad's post.  It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing.  However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested.  He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do.  I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing.  Those sources were quite specific and the information seemed clear.  I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad.  I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go.  The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon.  I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers.  Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account?  I don't know.  I have to find out.  If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.

  • Can I use PHP code in BC

    Yes, that is basically my question. Can I use php coding in Business Catalyst? And does BC us mysql database?
    Thank you

    Hi there, Please do a quick forum search before posting. This is asked a lot - You can even see a post in the frequently asked questions panel on the main page of this forum section.
    BC is a SAAS - Software as a service and a .Net based SQL system - It does not use PHP or mysql and you can not access the server side code.
    So to your question - that is a no I am affraid.

  • Can I use my new Palm desktop software (Centro) to backup my old Treo 700p before syncing the Centro?

    My computer crashed shortly before I upgraded to a new Centro.  I need to backup the data on my 700p so I can transfer it to the Centro.  Do I need to install the old Palm desktop first, or can I use the Centro software to back up the 700p?
    Thanks
    Post relates to: Centro (Sprint)

    The Sprint version of the Centro still ships with Palm Desktop 4.2, which should be the same as you were previously using with your 700p.
    My understanding is that only the AT&T and Verizon versions of the Centro (and probably the new Unlocked Centro) ship with the new Desktop 6.2 by Access.
    As for the bonus applications, I have the AT&T Centro and all of the bonus apps were actually accessed via online download directly to the phone. And if I remember correctly, Documents To Go v.10 including the desktop application, was also done via download rather than being installed on the disc.  Required entering the correct registration/activation codes.  I guess they've gotten away from including this software directly on the installation disc.
    Post relates to: Centro (AT&T)
    Message Edited by smkranz on 06-29-2008 12:25 PM
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Which user exit can be use before production order creating?

    which user exit can be use before production order creating?
    i want to check AFPO data,then show error message before production order creating.
    1.i try to use PPCO0001( enhancement when saving the order) to check AFPO data, then show some error message,sap system will generate a abap down error.
    2.i try to use PPCO0007(Exit when saving production order),
    i can show error message,but i can't check AFPO's data.

    Hi,
    You can access AFPOD structure using field symbols.
    Try below mentioned code in routing:
    constants: c_afpod TYPE char30 VALUE '(SAPLCOKO1)AFPOD' .
    FIELD-SYMBOLS: <fs_afpod> TYPE ANY .
    data: wa_afpod TYPE afpod.
    ASSIGN (c_afpod) TO <fs_afpod>.
    wa_afpod = <fs_afpod>.
    Then later you can use wa_afpod in exit PPCO0007. Hope this will work for you.
    Sumit

  • Lost my iphone ios 7.2.0 with a pass code an iCloud activate the thing is who ever finds my phone puts it on DFU mode and restore it I'm aware he can do that but can't use it without my iCloud will I be able to track the phone if connected to wifi

    Lost my phone it had ios 7.2.0 with pass code and I cloud  I'm aware it can be restore on DFU mode but can't use it if they don't have the iCloud user if and password the phones linked with. Question is in this process if the person connects it to his or her wifi to setup up the phone will I be able to track the phone after the restore ? Even though he can't use it because he has no Id no password

    You can do nothing if it's not online. With a passcode and iOS 7.1 (there is no 7.2) the device is uselss because it cannot be erased except by you.
    What To Do If Your iDevice or Computer Is Lost Or Stolen
    iPhone, iPod Touch, and iPad
    If you activated Find My Phone before it was lost or stolen, you can track it only if it is connected to the Internet by Wi-Fi or cellular. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. iCloud- Use Lost Mode
      6. What to do if your iOS device is lost or stolen
      7. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      8. Find My iPhone
      9. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)
    Mac Computer
           Find My Mac can be used from Find My Phone at iCloud.com and via Find
           My Phone on your iDevice.
          The following is third-party anti-theft software:
               1.  STEM 2.1
               2.  MacPhoneHome 3.5
               3.  MacTrack 7.5.0
               4.  VUWER 1.7
               5.  Sneaky Bastar* 0.2.0
               6.  Undercover 5.1.1
               7.  LoJack for Laptops
               8. Hidden 2.0
               9. Prey 0.6.2

  • Can i use the same socket to connect to more than one servers

    hi,
    I'm new to java. I want to know whether a socket created using Socket() constructor can be used to connect to multiple servers, not necessarily at a particular point of time. ie, i want to connect to various servers using a single socket and register some info abt them, possible using a loop, one by one. I use connect() method to connect to particular server.
    In other words is Socket class is mutable.
    Edited by: itsraja on Feb 25, 2008 5:50 AM

    In short, I don't think so.
    Setting the server name for a socket is in the constructor.
    Socket s = new Socket("localhost", 501);I don't believe that there are any functions, such as:
    s.setHost("localhost");
    s.setPort(501);However, JavaDocs suggests that when you use the no-args constructor, your class becomes an automatic SocketImpl class, but you can't reach any of its variables unless you derive from the class, itself. But that's probably a bigger headache than it's worth.
    Now TECHNICALY, if you didn't want to create a new variable, you could use:
    Socket s = new Socket("localhost", 501);
    s.close();
    s = new Socket("remotehost", 502);
    s.close();However, this is still creating a new instance and thus a new object in memory.
    I hope this answers your question.
    Let us know exactly what you're trying to do for a more exact answer.
    ~Derek

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

Maybe you are looking for

  • I can't "accept" the new iTunes terms of use on my iphone 4 since iOS 7 update

    Hello. Since iOS7 update, when I want to download a song, I get the new iTunes terms of use to read, but no button to accept it. And the download never begin. I can't listen tu music anymore. Does someone also get this bug? Thanx

  • How do I sync my iCal calendars on my mac with iCloud?

    how do i sync my iCal Calendars on my mac with iCloud calendars?

  • AD-hoc approver n step item level shopping cart workflow

    Hi We are on latest version of SRM and using n step item level SC approval workflow. The scenario goes like this: -     Requester creates shopping cart and workflow goes for two step approval. -     In the approval preview the requester is able to se

  • Ws security enabled in soap

    Hi Everyone, Am trying SOAP to RFC scenario where i want to send the SOAP request with ws security enabled. In the SOAP header of request am sending username and password as below "  <soapenv:Header>       <wsse:Security soapenv:mustUnderstand="1" xm

  • Restart a clean portal installation

    What do I have to delete to rstart from scratch a portal install. The oracle DB is installed and running. Should I remove everything under /usr/sap/<J2EE SID> anything else needs to be deleted? j2eeadm users? John