Go to the source code of this file.
|
int | sceNetResolverInit (void) |
| Inititalise the resolver library.
|
|
int | sceNetResolverCreate (int *rid, void *buf, SceSize buflen) |
| Create a resolver object.
|
|
int | sceNetResolverDelete (int rid) |
| Delete a resolver.
|
|
int | sceNetResolverStartNtoA (int rid, const char *hostname, struct in_addr *addr, unsigned int timeout, int retry) |
| Begin a name to address lookup.
|
|
int | sceNetResolverStartAtoN (int rid, const struct in_addr *addr, char *hostname, SceSize hostname_len, unsigned int timeout, int retry) |
| Begin a address to name lookup.
|
|
int | sceNetResolverStop (int rid) |
| Stop a resolver operation.
|
|
int | sceNetResolverTerm (void) |
| Terminate the resolver library.
|
|
◆ sceNetResolverCreate()
Create a resolver object.
- Parameters
-
rid | - Pointer to receive the resolver id |
buf | - Temporary buffer |
buflen | - Length of the temporary buffer |
- Returns
- 0 on success, < 0 on error
◆ sceNetResolverDelete()
int sceNetResolverDelete |
( |
int |
rid | ) |
|
Delete a resolver.
- Parameters
-
rid | - The resolver to delete |
- Returns
- 0 on success, < 0 on error
◆ sceNetResolverInit()
Inititalise the resolver library.
- Returns
- 0 on sucess, < 0 on error.
◆ sceNetResolverStartAtoN()
Begin a address to name lookup.
- Parameters
-
rid | -Resolver id |
addr | - Pointer to the address to resolve |
hostname | - Buffer to receive the name |
hostname_len | - Length of the buffer |
timeout | - Number of seconds before timeout |
retry | - Number of retries |
- Returns
- 0 on success, < 0 on error
◆ sceNetResolverStartNtoA()
Begin a name to address lookup.
- Parameters
-
rid | - Resolver id |
hostname | - Name to resolve |
addr | - Pointer to in_addr structure to receive the address |
timeout | - Number of seconds before timeout |
retry | - Number of retires |
- Returns
- 0 on success, < 0 on error
◆ sceNetResolverStop()
int sceNetResolverStop |
( |
int |
rid | ) |
|
Stop a resolver operation.
- Parameters
-
- Returns
- 0 on success, < 0 on error
◆ sceNetResolverTerm()
Terminate the resolver library.
- Returns
- 0 on success, < 0 on error