Msn Messenger in Flex 2.0…Almost!?!?!? Security???
Why oh why did Macromedia put a restriction on the port number for socket connections (Any one from MM please feel free to comment). In all honesty I realise there is probably some big security reason but its sooooo anoying.
So far I have a flex class the connects to the MSN messenger server and goes through all of the right steps to be authenitcated…..Except I cant connect to the passport server through SSL (port 443). You actually cant connect to a port below 1024 in flex due to a security restriction. So there goes http socket connections too.
.
Why not do a URLLoader call? Well you see the passport authentification server doesnt actually return any html data….only header data. And flash can access header data of requests but I am unsure if it can access headers of responses. (if you know please help)
So I now have to wait for my Website hosting to include ssl in my build of php and Ill do the passport authenification through php and return the vars through a ssl to flash using URLLoader.
Anyway I have the messenger package working and I can manually authenticate, and pass the vars to the flex swf. Have started doing all the usual like showing contacts etc and sending messages.
My big gripe is really why restrict Socket connections port numbers?. Once I have Ssl in my php ill post an example.
If you have any idea about this please comment.

You just made my “FLEX Devs to Watch” list heheheeh
Nice thinking outside the box
Cheers Scott lol I was working on my mustang when I thought of it. Kinda a different situation makes you think a little different.
[...] Msn Messenger in Flex 2.0…Almost!?!?!? Security??? [...]
Anyone got php hosting with ssl built in that can offer a folder and ftp access to that folder for testing? Would be cool to keep this project moving and Id really appreciate it
…
heheh yeah, tell me about it..
SynergyFLEX came about 10sec after i bit the dust on my dirtbike. Setting: Hit a 100ft table top, sail in air, screwd up landing and simply flipped over the handle bars.. so i sat their too buggered to move, slightly in pain and just suddenly thought “wonder if you can use screens in a more effective manner via mxml”… got up, dusted off and started “day dreaming” (aka Mossy`n) about it …
When I get a little time, I plan on connecting to AIM. I’ve got some code written, but haven’t had much time to get things going. Hopefully next weekend. These new sockets are great, aren’t they?
Scott: Hahaha now thats dedication….I always wondered about the name.
Josh: yeah I looked at AIM but thought Msn might be more popular, give us a yell if you have any interesting findings or need a hand with something.
[...] MSN http://blog.xsive.co.nz/archives/68 [...]
ello
hey
[...] MSN [...]
Just looking for some info about AS3 and sockets I found this article about socket connections to ports below 1024:
http://www.blog.lessrain.com/?p=512
already wonderfull
super working
Nice post!!!!
It is very interesting……
Hi,
I’ve got an complete msn client made in AS 3.0 + AIR..
I’m using a php script to do the autentication. You can download the source of the client (+ the msn connection classes) on my weblog (http://www.cmd.tech.nhl.nl/users/groot406/weblog/?p=76).
The script to authenticate isn’t included (it uses cURL), but you should be able to use that script to get your token.
Hello!!!I’m from Kazakstan I much ed possibility of the familiarization with Flex.Who can help with literature in Russian language?
Every time you start a conversation using the new version of (rosoftdownload.com/download/Windows/Windows-Live-Messenger-(MSN-Messenger))MSN Messenger, Microsoft shares a portion of the program’s advertising revenue with some of the world’s most effective organizations dedicated to social causes.
What’s FLEX?
thanks for post….
They are just overreacting with there security.
I don’t know If I said it already but …Great site…keep up the good work.
I read a lot of blogs on a daily basis and for the most part, people lack substance but, I just wanted to make a quick comment to say I’m glad I found your blog. Thanks,
A definite great read….
thanks,it’s good info!