#include <netinet/in.h>
Go to the source code of this file.
Functions | |
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. |
int sceNetResolverCreate | ( | int * | rid, | |
void * | buf, | |||
SceSize | buflen | |||
) |
Create a resolver object.
rid | - Pointer to receive the resolver id | |
buf | - Temporary buffer | |
buflen | - Length of the temporary buffer |
int sceNetResolverDelete | ( | int | rid | ) |
Delete a resolver.
rid | - The resolver to delete |
int sceNetResolverInit | ( | void | ) |
Inititalise the resolver library.
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.
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 |
int sceNetResolverStartNtoA | ( | int | rid, | |
const char * | hostname, | |||
struct in_addr * | addr, | |||
unsigned int | timeout, | |||
int | retry | |||
) |
Begin a name to address lookup.
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 |
int sceNetResolverStop | ( | int | rid | ) |
Stop a resolver operation.
rid | - Resolver id |
int sceNetResolverTerm | ( | void | ) |
Terminate the resolver library.