Sockets vs AMFPHP
Today I did some research on whether the flash project I’m working on would be better of using sockets or AMFPHP.
Turns out the biggest difference between the two of them is that sockets can push and pull and AMFPHP can only pull.
Push meaning that the server can send data back to my flash client when a change occurs.
Pull meaning that the client can ask the server for data on a certain event.
Of course the biggest advantage of AMFPHP is that it’s free. There are also free socket server scripts available, but then you have to be willing to host the server yourself.
This link was a very big help to me:
Flashfocus link (Dutch site)
In my case, sockets are the way to go … the main idea was to limit the bandwith that the client is using, so AMFPHP wouldn’t be a solution to my problem.







