---
name: "globus_xio_udp_driver.h"
section: "3"
platform: "linux"
package: "libglobus-xio-doc"
version: "6.6-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/globus_xio_udp_driver.h"
---

# globus\_xio\_udp\_driver.h(3)

XIO UDP Driver.

## NAME

builtins/udp/globus\_xio\_udp\_driver.h - XIO UDP Driver.

## SYNOPSIS

`#include 'globus_xio_system.h'`\

### Macros

\#define **GLOBUS\_XIO\_UDP\_INVALID\_HANDLE**\

### Enumerations

enum **globus\_xio\_udp\_error\_type\_t** { **GLOBUS\_XIO\_UDP\_ERROR\_NO\_ADDRS**, **GLOBUS\_XIO\_UDP\_ERROR\_SHORT\_WRITE** }\
 enum **globus\_xio\_udp\_cmd\_t** { **GLOBUS\_XIO\_UDP\_SET\_HANDLE**, **GLOBUS\_XIO\_UDP\_SET\_SERVICE**, **GLOBUS\_XIO\_UDP\_GET\_SERVICE**, **GLOBUS\_XIO\_UDP\_SET\_PORT**, **GLOBUS\_XIO\_UDP\_GET\_PORT**, **GLOBUS\_XIO\_UDP\_SET\_LISTEN\_RANGE**, **GLOBUS\_XIO\_UDP\_GET\_LISTEN\_RANGE**, **GLOBUS\_XIO\_UDP\_SET\_INTERFACE**, **GLOBUS\_XIO\_UDP\_GET\_INTERFACE**, **GLOBUS\_XIO\_UDP\_SET\_RESTRICT\_PORT**, **GLOBUS\_XIO\_UDP\_GET\_RESTRICT\_PORT**, **GLOBUS\_XIO\_UDP\_SET\_REUSEADDR**, **GLOBUS\_XIO\_UDP\_GET\_REUSEADDR**, **GLOBUS\_XIO\_UDP\_SET\_NO\_IPV6**, **GLOBUS\_XIO\_UDP\_GET\_NO\_IPV6**, **GLOBUS\_XIO\_UDP\_GET\_HANDLE**, **GLOBUS\_XIO\_UDP\_SET\_SNDBUF**, **GLOBUS\_XIO\_UDP\_GET\_SNDBUF**, **GLOBUS\_XIO\_UDP\_SET\_RCVBUF**, **GLOBUS\_XIO\_UDP\_GET\_RCVBUF**, **GLOBUS\_XIO\_UDP\_GET\_CONTACT**, **GLOBUS\_XIO\_UDP\_GET\_NUMERIC\_CONTACT**, **GLOBUS\_XIO\_UDP\_SET\_CONTACT**, **GLOBUS\_XIO\_UDP\_CONNECT**, **GLOBUS\_XIO\_UDP\_SET\_MULTICAST** }\

### Functions

globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_HANDLE**, globus\_xio\_system\_socket\_t handle)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_SERVICE**, const char \*service\_name)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_SERVICE**, char \*\*service\_name\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_PORT**, int listener\_port)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_PORT**, int \*listener\_port\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_LISTEN\_RANGE**, int listener\_min\_port, int listener\_max\_port)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_LISTEN\_RANGE**, int \*listener\_min\_port\_out, int \*listener\_max\_port\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_INTERFACE**, const char \*interface)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_INTERFACE**, char \*\*interface\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_RESTRICT\_PORT**, globus\_bool\_t restrict\_port)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_RESTRICT\_PORT**, globus\_bool\_t \*restrict\_port\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_REUSEADDR**, globus\_bool\_t resuseaddr)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_REUSEADDR**, globus\_bool\_t \*resuseaddr\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_NO\_IPV6**, globus\_bool\_t no\_ipv6)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_NO\_IPV6**, globus\_bool\_t \*no\_ipv6\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_HANDLE**, globus\_xio\_system\_socket\_t \*handle\_out)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_GET\_HANDLE**, globus\_xio\_system\_socket\_t \*handle\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_SNDBUF**, int sndbuf)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_SET\_SNDBUF**, int sndbuf)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_SNDBUF**, int \*sndbuf\_out)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_GET\_SNDBUF**, int \*sndbuf\_out)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_RCVBUF**, int rcvbuf)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_SET\_RCVBUF**, int rcvbuf)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_GET\_RCVBUF**, int \*rcvbuf\_out)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_GET\_RCVBUF**, int \*rcvbuf\_out)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_GET\_CONTACT**, char \*\*contact\_string\_out)\
 globus\_result\_t **globus\_xio\_data\_descriptor\_cntl** (dd, driver, **GLOBUS\_XIO\_UDP\_GET\_CONTACT**, char \*\*contact\_string\_out)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_GET\_NUMERIC\_CONTACT**, char \*\*contact\_string\_out)\
 globus\_result\_t **globus\_xio\_data\_descriptor\_cntl** (dd, driver, **GLOBUS\_XIO\_UDP\_GET\_NUMERIC\_CONTACT**, char \*\*contact\_string\_out)\
 globus\_result\_t **globus\_xio\_data\_descriptor\_cntl** (dd, driver, **GLOBUS\_XIO\_UDP\_SET\_CONTACT**, char \*contact\_string)\
 globus\_result\_t **globus\_xio\_handle\_cntl** (handle, driver, **GLOBUS\_XIO\_UDP\_CONNECT**, char \*contact\_string)\
 globus\_result\_t **globus\_xio\_attr\_cntl** (attr, driver, **GLOBUS\_XIO\_UDP\_SET\_MULTICAST**, char \*contact\_string)\

## Detailed Description

XIO UDP Driver.

## Author

Generated automatically by Doxygen for globus\_xio from the source code.
