Difference Flex/Flash NetConnection and Consumer/Producer

928 views Asked by At

What's the difference between a NetConnection and Consumer/Producer in Flex? It seems that they both use RTMP but Consumer/Producer uses Channels and NetConnection does not. Does the Consumer/Producer uses a NetConnection underneath?

1

There are 1 answers

2
Christophe Herreman On BEST ANSWER

NetConnection is a low-level Flash Player class that enables bidirectional communication between the Flash Player and a server. Both the RMI (remote objects) and Messaging (producer/consumer) implementations use NetConnection in their channels to do the actual communication to and from the server.