Project Alice
Loading...
Searching...
No Matches
pcp_socket_vt_s Struct Reference

#include <pcp.h>

Public Attributes

PCP_SOCKET(* sock_create )(int domain, int type, int protocol)
 
int(* sock_recvfrom )(PCP_SOCKET sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen)
 
int(* sock_sendto )(PCP_SOCKET sockfd, const void *buf, size_t len, int flags, struct sockaddr *dest_addr, socklen_t addrlen)
 
int(* sock_close )(PCP_SOCKET sockfd)
 

Detailed Description

Definition at line 103 of file pcp.h.

Member Data Documentation

◆ sock_close

int(* pcp_socket_vt_s::sock_close) (PCP_SOCKET sockfd)

Definition at line 109 of file pcp.h.

◆ sock_create

PCP_SOCKET(* pcp_socket_vt_s::sock_create) (int domain, int type, int protocol)

Definition at line 104 of file pcp.h.

◆ sock_recvfrom

int(* pcp_socket_vt_s::sock_recvfrom) (PCP_SOCKET sockfd, void *buf, size_t len, int flags, struct sockaddr *src_addr, socklen_t *addrlen)

Definition at line 105 of file pcp.h.

◆ sock_sendto

int(* pcp_socket_vt_s::sock_sendto) (PCP_SOCKET sockfd, const void *buf, size_t len, int flags, struct sockaddr *dest_addr, socklen_t addrlen)

Definition at line 107 of file pcp.h.


The documentation for this struct was generated from the following file: