knet_send(3)

knet_send3

Send data to knet nodes.

Usage

#include <libknet.h>

ssize_t knet_send(
    knet_handle_t  knet_h,
    const char    *buff,
    const size_t   buff_len,
    const int8_t   channel
);

Overview

knet_send

knet_h - pointer to knet_handle_t

buff - pointer to the buffer of data to send

buff_len - length of data to send

channel - channel number

Return value

knet_send is a commodity function to wrap iovec operations around a socket. It returns a call to writev(2).

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

From libknet-doc 1.31-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.