Teonet library
0.4.7
|
Functions | |
uint8_t * | createCmdConnectRPacketUdp (ksnetEvMgrClass *event_manager, size_t *size_out) |
uint8_t * | createCmdConnectRPacketTcp (ksnetEvMgrClass *event_manager, size_t *size_out) |
uint8_t * | createCmdConnectPacket (ksnetEvMgrClass *event_manager, char *name, char *addr, uint32_t port, size_t *size_out) |
uint8_t * | createCmdResendPacket (char *to, uint8_t cmd, void *data, size_t data_len, size_t *size_out) |
uint8_t* createCmdConnectPacket | ( | ksnetEvMgrClass * | event_manager, |
char * | name, | ||
char * | addr, | ||
uint32_t | port, | ||
size_t * | size_out | ||
) |
References free(), malloc(), teoGetFullAppTypeFromHostInfo(), and teoGetHostInfo().
Referenced by ksnCommandSendCmdConnect(), and ksnCommandSendCmdConnectA().
uint8_t* createCmdConnectRPacketTcp | ( | ksnetEvMgrClass * | event_manager, |
size_t * | size_out | ||
) |
References malloc().
Referenced by connect_r_host_cb().
uint8_t* createCmdConnectRPacketUdp | ( | ksnetEvMgrClass * | event_manager, |
size_t * | size_out | ||
) |
References free(), getIPs(), connect_r_packet::ip_counts, ip_is_private(), connect_r_packet::ips, ksnetEvMgrClass::kc, ksnet_stringArrFree(), ksnet_stringArrLength(), malloc(), connect_r_packet::port, ksnCoreClass::port, ksnetEvMgrClass::teo_cfg, teoGetFullAppTypeFromHostInfo(), teoGetHostInfo(), and connect_r_packet::type.
Referenced by connect_r_host_cb().
uint8_t* createCmdResendPacket | ( | char * | to, |
uint8_t | cmd, | ||
void * | data, | ||
size_t | data_len, | ||
size_t * | size_out | ||
) |
References malloc().