send_file()

The send_file() function sends the file data over a connected socket.

Syntax

#include <types.h>
#include <sys\socket.h>
ssize_t send_file(socket_ptr, sf_struct, flags)
int * socket_ptr;
struct sf_parms * sf_struct;
int flags;

Parameters

socket_ptr

sf_struct flags