getaddrinfo


Description:


[ Version ( since = "2.22" ) ]
public void* getaddrinfo (string name, string service, void* hints, Cancellable? cancellable = null) throws Error

Resolves a host name and returns an information about its address.

Parameters:

name

an address name to resolve

service

a service name to use

hints

an addrinfo hints, or null

cancellable

optional Cancellable object, or null

Returns:

a newly allocated addrinfo. Free it with freeaddrinfo when done with it.


Namespace: Camel
Package: camel-1.2