|
PSPSDK 2026-07-01
|


Go to the source code of this file.
Data Structures | |
| struct | SceNetInetTimeval |
| This struct is needed because tv_sec size is different from what newlib expect Newlib expects 64bits for seconds and PSP expects 32bits. More... | |
| struct | SceNetInetPollfd |
Macros | |
| #define | SCE_NET_INET_POLLIN 0x0001 |
| #define | SCE_NET_INET_POLLPRI 0x0002 |
| #define | SCE_NET_INET_POLLOUT 0x0004 |
| #define | SCE_NET_INET_POLLERR 0x0008 |
| #define | SCE_NET_INET_POLLHUP 0x0010 |
| #define | SCE_NET_INET_POLLNVAL 0x0020 |
| #define | SCE_NET_INET_POLLRDNORM 0x0040 |
| #define | SCE_NET_INET_POLLRDBAND 0x0080 |
| #define | SCE_NET_INET_POLLWRBAND 0x0100 |
| #define | SCE_NET_INET_POLLWRNORM SCE_NET_INET_POLLOUT |
Functions | |
| int | sceNetInetInit (void) |
| int | sceNetInetSelect (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct SceNetInetTimeval *timeout) |
| int | sceNetInetTerm (void) |
| int | sceNetInetGetErrno (void) |
| int | sceNetInetAccept (int s, struct sockaddr *addr, socklen_t *addrlen) |
| int | sceNetInetBind (int s, const struct sockaddr *my_addr, socklen_t addrlen) |
| int | sceNetInetConnect (int s, const struct sockaddr *serv_addr, socklen_t addrlen) |
| int | sceNetInetGetsockopt (int s, int level, int optname, void *optval, socklen_t *optlen) |
| int | sceNetInetListen (int s, int backlog) |
| size_t | sceNetInetRecv (int s, void *buf, size_t len, int flags) |
| size_t | sceNetInetRecvfrom (int s, void *buf, size_t flags, int, struct sockaddr *from, socklen_t *fromlen) |
| size_t | sceNetInetSend (int s, const void *buf, size_t len, int flags) |
| size_t | sceNetInetSendto (int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen) |
| int | sceNetInetSetsockopt (int s, int level, int optname, const void *optval, socklen_t optlen) |
| int | sceNetInetShutdown (int s, int how) |
| int | sceNetInetSocket (int domain, int type, int protocol) |
| int | sceNetInetClose (int s) |
| int | sceNetInetGetpeername (int s, struct sockaddr *name, socklen_t *namelen) |
| int | sceNetInetGetsockname (int s, struct sockaddr *name, socklen_t *namelen) |
| ssize_t | sceNetInetSendmsg (int s, const struct msghdr *msg, int flags) |
| ssize_t | sceNetInetRecvmsg (int s, struct msghdr *msg, int flags) |
| int | sceNetInetPoll (struct SceNetInetPollfd *fds, size_t nfds, int timeout) |
| #define SCE_NET_INET_POLLERR 0x0008 |
| #define SCE_NET_INET_POLLHUP 0x0010 |
| #define SCE_NET_INET_POLLIN 0x0001 |
| #define SCE_NET_INET_POLLNVAL 0x0020 |
| #define SCE_NET_INET_POLLOUT 0x0004 |
| #define SCE_NET_INET_POLLPRI 0x0002 |
| #define SCE_NET_INET_POLLRDBAND 0x0080 |
| #define SCE_NET_INET_POLLRDNORM 0x0040 |
| #define SCE_NET_INET_POLLWRBAND 0x0100 |
| #define SCE_NET_INET_POLLWRNORM SCE_NET_INET_POLLOUT |
| int sceNetInetClose | ( | int | s | ) |
| int sceNetInetGetErrno | ( | void | ) |
| int sceNetInetGetsockopt | ( | int | s, |
| int | level, | ||
| int | optname, | ||
| void * | optval, | ||
| socklen_t * | optlen ) |
| int sceNetInetInit | ( | void | ) |
| int sceNetInetListen | ( | int | s, |
| int | backlog ) |
| int sceNetInetPoll | ( | struct SceNetInetPollfd * | fds, |
| size_t | nfds, | ||
| int | timeout ) |
| size_t sceNetInetRecv | ( | int | s, |
| void * | buf, | ||
| size_t | len, | ||
| int | flags ) |
| size_t sceNetInetRecvfrom | ( | int | s, |
| void * | buf, | ||
| size_t | flags, | ||
| int | , | ||
| struct sockaddr * | from, | ||
| socklen_t * | fromlen ) |
| ssize_t sceNetInetRecvmsg | ( | int | s, |
| struct msghdr * | msg, | ||
| int | flags ) |
| int sceNetInetSelect | ( | int | n, |
| fd_set * | readfds, | ||
| fd_set * | writefds, | ||
| fd_set * | exceptfds, | ||
| struct SceNetInetTimeval * | timeout ) |
| size_t sceNetInetSend | ( | int | s, |
| const void * | buf, | ||
| size_t | len, | ||
| int | flags ) |
| ssize_t sceNetInetSendmsg | ( | int | s, |
| const struct msghdr * | msg, | ||
| int | flags ) |
| size_t sceNetInetSendto | ( | int | s, |
| const void * | buf, | ||
| size_t | len, | ||
| int | flags, | ||
| const struct sockaddr * | to, | ||
| socklen_t | tolen ) |
| int sceNetInetSetsockopt | ( | int | s, |
| int | level, | ||
| int | optname, | ||
| const void * | optval, | ||
| socklen_t | optlen ) |
| int sceNetInetShutdown | ( | int | s, |
| int | how ) |
| int sceNetInetSocket | ( | int | domain, |
| int | type, | ||
| int | protocol ) |
| int sceNetInetTerm | ( | void | ) |