Hi all,
I'm using the lwip-1.1.1 with raw api, and I want to
make a telnet server. My init function is:
void Telnet_init(void)
{
struct tcp_pcb *ptel_pcb;
//new pcb
ptel_pcb = tcp_new();
//Bind it to port 23
tcp_bind(ptel_pcb, NULL, 23);
//state to pcb LISTEN
tcp_listen(ptel_pcb);
//register the callback
tcp_accept(ptel_pcb, Telnet_accept);
}
But the code in the callback Telnet_accept never run.
Looking in the stack I saw that the function
tcp_input() call to tcp_listen_input(), but the
last one do esn't call to tcp_process().
Can someone wive me an advice, regards
Med
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users