[Vortex] Vortex TCP Socket question
Francis Brosnan Blazquez
francis at aspl.es
Wed Oct 4 13:45:02 CEST 2006
El mié, 04-10-2006 a las 10:59 +0200, Thomas Unterleitner escribió:
> Hi everyone,
Hi Thomas,
Nice to hear you again,
> is it possible, to establish a tcp socket manually and the vortex lib
> can use this “external” tcp socket?
Sure.
> Such like “vortex_connection_set_socket”
You can use vortex_connection_new_empty [1]. It receives the socket to
be used (it must be already connected) and the role the connection will
play (initiator or listener).
Let me note that the function will use default handlers to perform IO
operations using the socket provided (send, recv). This will work in
most cases, however, if you want to change this behaviour you can use
[2] and [3].
Let us to know if this solves your problem!
> Thanks
Cheers!
> Thomas
[1]
http://www.aspl.es/fact/files/af-arch/vortex/html/group__vortex__connection_g927299c0e2b47c68c464b4022ce657f8.html#g927299c0e2b47c68c464b4022ce657f8
[2]
http://www.aspl.es/fact/files/af-arch/vortex/html/group__vortex__connection_g7052b9c3428a5b6ab65794ca31abd521.html#g7052b9c3428a5b6ab65794ca31abd521
[3]
http://www.aspl.es/fact/files/af-arch/vortex/html/group__vortex__connection_g9c20f9f6d2870529e49491f9bd51ee2d.html#g9c20f9f6d2870529e49491f9bd51ee2d
More information about the Vortex
mailing list