On Thu, Nov 20, 2008 at 5:32 AM, zzhang <[EMAIL PROTECTED]> wrote: > >> C/C++ has no networking API at all. > I download the Alchemy SDK from > http://labs.adobe.com/downloads/alchemy.html. > Ander > alchemy_sdk_cygwin_p1_111708.zip\alchemy-cygwin-v0.4a\avm2-libc\include\sys > there's socket.h include file.So maybe this platform would be more > powerful .
But that is just a header file. Networking in C/C++ works the way that you have header files provided by your platform referencing external functions, that are implemented in system libraries, which in turn call the kernel to do the job. If you just have the header files, but the OS libs are missing, the build will fail. There must be some sort of restrictions in the ActionScript VM on what you can do with networking, and the very same restriction must apply to any bytecode running in it, regardless of whether is it compiled directly from ActionScript or C/C++. _______________________________________________ p2p-hackers mailing list [email protected] http://lists.zooko.com/mailman/listinfo/p2p-hackers
