globus_xio...r_instance(3)
β¨ NAME β¨
globus_xio_tcp_driver_instance β Opening/Closing π
- Opening/Closing.
okay so this page lives in the Library Functions Manual, and the manpage name is globus_xio...r_instance(3) (yes bestie, that's the truncated lil name, it's giving β¨mysteriousβ¨). Anyway. Let's get into it π«Ά
πΈ SYNOPSIS πΈ
not me opening this section and finding it literally empty π no synopsis lines, no nothing. The real content is down in Detailed Description, keep scrolling bestie.
π¦ Detailed Description π¦
Opening/Closing. That's the whole vibe. Periodt. π
An XIO handle with the tcp driver can be created with either globus_xio_handle_create() or globus_xio_server_register_accept(). Two doors, same destination, slay π
If the handle is created with globus_xio_server_register_accept(), then the globus_xio_register_open() call does nothing more than initialize the internal handle with the accepted socket. That's it. That's the whole job. Lowkey iconic for doing the bare minimum and getting away with it π§
If the handle is created with globus_xio_handle_create(), and there is no handle set on the attr passed to the globus_xio_register_open() call, then it performs the equivalent of an asynchronous connect() call. Main character energy fr fr π₯
In that case, the contact string must contain a host name and service/port. Both the hostname and port number can be numeric or symbolic, like:
some.webserver.com:80
214.123.12.1:http
If the hostname is symbolic and it resolves to multiple ip addresses, each one will be attempted in succession, until the connect is successful or there are no more addresses. She's persistent, she's trying every single one, no cap π
π When the handle gets closed π
When the XIO handle is closed, the tcp driver will destroy its internal resources and close the socket β unless this socket was set on an attr (in which case, hands off bestie π).
- Any write data pending in system buffers will be sent, unless the linger option has been set.
- Any remaining data in recv buffers will be discarded.
- And (on some systems) a connection reset gets sent to the peer. π
bestie be aware: that last part is per-system behaviour, and the discarded recv data is just gone, so plan accordingly π
π Author π
Generated automatically by Doxygen for globus_xio from the source code. Not a human, just a lil robot doing its thing π€π
sign-off time π This was globus_xio, Version 6.6, and you just read globus_xio...r_instance(3) from the Library Functions Manual. Go forth and open/close some handles bestie, ily, bye π¦π
β¨
π¦ where this page comes from
- epel 10: globus-xio-doc 6.6-4.el10_0 Β· Apache-2.0
- fedora 43: globus-xio-doc 6.6-9.fc43 Β· Apache-2.0
- fedora 44: globus-xio-doc 6.6-10.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-xio-doc 6.6-3build2 Β· Apache-2.0
- ubuntu stonking: libglobus-xio-doc 6.6-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms