I'm trying to get a clearer picture of how communication works with Availability Groups. I know the listener technically 'lives' in the sqlserver.exe process on the primary server. I also know that the primary server has 2 IP addresses when its the primary. One corresponding to the listener IP and one corresponding to the server itself.
My question is that, when an application connects through the listener, does all subsequent traffic get routed back through the listener? Or does the listener simply point the application to the correct server and it connects directly to the primary? Basically, does traffic take 2 hops back through the listener or is a connection made directly to the actual sql server?