Hi,
I have some basic questions that I will appropriate to answer and
help me.
1)for a secure Ethernet connection , is this code sufficient for
renewing disconnect , preventing from disconnection and hanging ? or
I should some changes?
int32_t tcp_sock;
uint8_t *sendbuf;
uint32_t tcp_cb_func (int32_t socket, netTCP_Event event,const NET_ADDR *addr, const uint8_t *buf, uint32_t len) {
switch (event) {
case netTCP_EventConnect:return (1);
case netTCP_EventData
↧