Address.getSockaddr

Returns the sockaddr associated with @addr, with its length in *@len. If the sockaddr is not yet known, returns %NULL.

This method is not thread-safe; if you call it while @addr is being resolved in another thread, it may return garbage. You can use soup_address_is_resolved() to safely test whether or not an address is resolved before fetching its name or address.

class Address
getSockaddr
(
int* len
)

Parameters

len int*

return location for sockaddr length

Return Value

Type: sockaddr*

the sockaddr, or %NULL

Meta