开发者

How to make a webservice in RTMFP? (and.. how it works)

I managed (thanks to an example I saw in adobe labs) to host in my webpage an swf, and through Cirrus I could establish a connection between two different users, that worked like a charm, BUT, I had to pass through msn the peer ID in order to establish that connection.开发者_如何学Go

I know that this part must be resolved by a webservice.. but, how can I make one, and, more important, how does it work?

Thanks!


I will tell you how to do that with PHP

1) First you need a website or online-"localhost" (put online option available on WAMP)

2) Using HTTPService in FLEX , pass your nearID to PHP script and make that script write that value to backend. (MySQL)

3) When your friend connects to your site , do the same as step 2.

4) Exchange your IDs from the backend again using PHP script.

Now you will be connected.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜