API

Pre-release version

// API IPv17 ver 2.0
uint32_t udtp_netid (uint16_t command, struct netid, uint32_t flag);

uint64_t udtp_open (uint16_t command, struct netid, uint32_t authentication); uint64_t udtp_take (uint16_t command, struct netid, uint32_t authentication); 
uint8_t udtp_connect (uint16_t command, uint64_t gfl, uint32_t proto, uint32_t bitrate);

uint8_t udtp_accept (uint16_t command, uint64_t gfl, uint32_t proto, uint32_t bitrate);
uint32_t udtp_send (uint16_t command, uint64_t gfl, STREAM *sm, uint64_t, uint32_t flags);

uint64_t udtp_send (uint16_t command, uint64_t gfl, FILE *fd, sizeof(*fd), uint32_t flags);
uint64_t udtp_send (uint16_t command, uint64_t gfl, MESSAGE *mg, sizeof(*md), uint32_t flags);
uint32_t udtp_send (uint16_t command, uint64_t gfl, COMMAND cmd, uint64_t, uint32_t flags);
uint64_t udtp_send (uint16_t command, uint64_t gfl, PACKET *buff, sizeof(buff), uint32_t flags, uint64_t no_packet);

uint32_t udtp_recv (uint16_t command, uint64_t gfl, STREAM *sm, uint64_t       uint32_t flags);
uint32_t udtp_recv (uint16_t command, uint64_t gfl, FILE *fd, sizeof(*fd),   uint32_t flags);
uint32_t udtp_recv (uint16_t command, uint64_t gfl, MESSAGE *mg, sizeof(*md),   uint32_t flags);
uint32_t udtp_recv (uint16_t command, uint64_t gfl, COMMAND cmd, uint64_t,     uint32_t flags);
uint64_t udtp_recv (uint16_t command, uint64_t gfl, PACKET *buff, sizeof(buff), uint32_t flags, uint64_t no_packet);

bool udtp_close (uint64_t gfl, uint8_t);
bool udtp_shut (uint64_t gfl);
This site is protected by WP-CopyRightPro