[Vortex] vortex_connection_get_port(connection) bug?

Francis Brosnan Blazquez francis at aspl.es
Mon Nov 26 19:02:43 CET 2007

Hi Chris,

> When I call vortex_connection_get_port(connection) on a destination
> machine the port number returned appears to be the “real” TCP port and
> not the logical port I assigned to the listener. Can anyone confirm if
> this is a bug?

This is the expected result, not a bug. Calling to get the port on a
connection instance will return its real port. 

Maybe you should get/keep a reference to the "real" server listening
(vortex_listener_new*). Calling to get port on this reference will
return the port you are expecting. 


> Thanks!
> Chris
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.

More information about the Vortex mailing list