Subject RE: [firebird-support] Zebedee and RemoteAuxPort
Author Alan McDonald
> Alan McDonald wrote:
> > Milan, How does your app know what to listen for? e.g. I use IBOEvents
> > component - wouldn't I need to tell it to listen to a port?
>
> That's one of the most common misconceptions about events. The client
> app. does *not* listen to anything. Firebird server listens to incoming
> connection. It goes like this:
>
> 1. when FB server is started it opens default 3050 port and
> RemoteAuxPort for events
> 2. when client wants to listen to events, it connects to server at
> RemoteAuxPort

OK but since the remoteAuxport is set at the server, how does the client
ever know what port it will connect on
when and how does the server tell the client?
Alan

> 3. when there is event to be posted, the server sends the info over the
> connection that is already established (see step 2).
>
> --
> Milan Babuskov
> http://swoes.blogspot.com/
> http://www.flamerobin.org
>