开发者

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

开发者 https://www.devze.com 2023-04-13 06:28 出处:网络
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 t

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

精彩评论

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