| 1040 | } |
| 1041 | |
| 1042 | err_t didSend(void *arg, struct tcp_pcb *pcb, u16_t len) |
| 1043 | { |
| 1044 | xsSocket xss = arg; |
| 1045 | |
| 1046 | modInstrumentationAdjust(NetworkBytesWritten, len); |
| 1047 | |
| 1048 | xss->outstandingSent -= len; |
| 1049 | if (0 == xss->outstandingSent) |
| 1050 | socketSetPending(xss, kPendingSent); |
| 1051 | |
| 1052 | return ERR_OK; |
| 1053 | } |
| 1054 | |
| 1055 | void didReceiveUDP(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *remoteAddr, u16_t remotePort) |
| 1056 | { |
nothing calls this directly
no test coverage detected