首页 > 代码库 > [转]flash.net.Socket
[转]flash.net.Socket
本文转自:http://designstacks.net/actionscript-3-new-capabilities
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b8f6c0-7ffe.html
Actionscript 3 – New Capabilities
flash.net.Socket
You can now make Flash talk in many different protocols. Connect to a port on a remote computer and talk in your own language if you like.
No longer do you need a server-side script to send email from Flash, now you can just connect directly to an SMTP server, speak its language (The SMTP Protocol) and tell it to send the email for you.
I have written classes that allow Flash to retrieve email from Pop3 or IMAP Servers, send email using SMTP Servers and read newsgroups from NNTP servers.
It’s a shame that there is no File I/0 Capabilities, because then we could make an FTP client in Flash. I doubt very much that we will ever see File I/O in the Flash Player for security reasons.
[转]flash.net.Socket