public tcp_pcb_listen tcp_listen(tcp_pcb_common pcb) { return tcp_listen_with_backlog(pcb, opt.TCP_DEFAULT_LISTEN_BACKLOG); }
public static void tcp_accepted(tcp_pcb_common pcb) { do { lwip.LWIP_ASSERT("pcb.state == tcp_state.LISTEN (called for wrong pcb?)", pcb.state == tcp_state.LISTEN); ((tcp_pcb_listen)(pcb)).accepts_pending--; } while (false); }
public tcp(lwip lwip) { this.lwip = lwip; inseg = new tcp_seg(lwip); tcp_pcb_lists = new tcp_pcb_common[]{ tcp_listen_pcbs.pcbs, tcp_bound_pcbs, tcp_active_pcbs, tcp_tw_pcbs}; }