psl1ght
A free SDK for Sony's PS3 console
Loading...
Searching...
No Matches
socket.h File Reference

Socket management functions. More...

#include <ppu-lv2.h>
#include <net/socket.h>

Go to the source code of this file.

Functions

LV2_SYSCALL sysNetAccept (int socket, const struct sockaddr *addr, socklen_t *addr_len)
 
LV2_SYSCALL sysNetBind (int socket, const struct sockaddr *addr, socklen_t addr_len)
 
LV2_SYSCALL sysNetConnect (int socket, const struct sockaddr *addr, socklen_t addr_len)
 
LV2_SYSCALL sysNetListen (int socket, int backlog)
 
LV2_SYSCALL sysNetRecvfrom (int socket, void *buffer, size_t len, int flags, const struct sockaddr *addr, socklen_t *addr_len)
 
LV2_SYSCALL sysNetSendto (int socket, const void *message, size_t len, int flags, const struct sockaddr *addr, socklen_t addr_len)
 
LV2_SYSCALL sysNetShutdown (int socket, int how)
 
LV2_SYSCALL sysNetSocket (int domain, int type, int protocol)
 
LV2_SYSCALL sysNetClose (int socket)
 

Detailed Description

Socket management functions.

Definition in file socket.h.

Function Documentation

◆ sysNetAccept()

LV2_SYSCALL sysNetAccept ( int  socket,
const struct sockaddr *  addr,
socklen_t *  addr_len 
)

Definition at line 15 of file socket.h.

◆ sysNetBind()

LV2_SYSCALL sysNetBind ( int  socket,
const struct sockaddr *  addr,
socklen_t  addr_len 
)

Definition at line 21 of file socket.h.

◆ sysNetClose()

LV2_SYSCALL sysNetClose ( int  socket)

Definition at line 63 of file socket.h.

◆ sysNetConnect()

LV2_SYSCALL sysNetConnect ( int  socket,
const struct sockaddr *  addr,
socklen_t  addr_len 
)

Definition at line 27 of file socket.h.

◆ sysNetListen()

LV2_SYSCALL sysNetListen ( int  socket,
int  backlog 
)

Definition at line 33 of file socket.h.

◆ sysNetRecvfrom()

LV2_SYSCALL sysNetRecvfrom ( int  socket,
void *  buffer,
size_t  len,
int  flags,
const struct sockaddr *  addr,
socklen_t *  addr_len 
)

Definition at line 39 of file socket.h.

◆ sysNetSendto()

LV2_SYSCALL sysNetSendto ( int  socket,
const void *  message,
size_t  len,
int  flags,
const struct sockaddr *  addr,
socklen_t  addr_len 
)

Definition at line 45 of file socket.h.

◆ sysNetShutdown()

LV2_SYSCALL sysNetShutdown ( int  socket,
int  how 
)

Definition at line 51 of file socket.h.

◆ sysNetSocket()

LV2_SYSCALL sysNetSocket ( int  domain,
int  type,
int  protocol 
)

Definition at line 57 of file socket.h.