Binary Socket Fundamentals

On this new Lee Tutorial, learn how to use low-level binary sockets to connect to a POP3 mail server using ActionScript 3.

Watch the tutorial and download source files


  1. senocular

    It should be noted that as of the new Flash Player release in April ALL socket connections (even on the same domain) require a socket-based policy file.

    http://www.adobe.com/devnet/flashplayer/articles/flash_player9_security_update.html?devcon=f3

  2. maliboo

    Nice one, but Socket class still suffers from lack of write progress status (Adobe bug base: SDK-12277), so you cannot send larger files/byte chunks:
    http://www.onflex.org/ted/2007/05/flexftp-ftp-client-in-flex-using.php

    ;(

  3. angryxtian

    Wow that’s really complicatd. I don’t understand it at all. :(

  4. Roy

    Very neat, nice basic overview. I just wish there weren’t the sandboxing, it means any client you make basically has to be connecting to your server. You can’t host a generic FTP client that lets you upload to any site. I understand why they do it that way, but it’s annoying nonetheless.

Leave a Comment