src/pmc/sockaddr.pmc - sockaddr_in holder


The Sockaddr PMC holds raw c-pointer to sockaddr_in

Vtable Functions

These are the vtable functions for the Sockaddr class.

void init()
Initializes the pointer object.
void destroy()
Destroys the PMC and frees all allocated memory.
PMC *clone()
Creates and returns a clone of the pointer.
void *get_pointer()
Returns the pointer.
void set_pointer(void *)
Sets the pointer.