Hi all,

I'm trying to use the raw api to create a telnet service in a
multithreaded environment. I do already have a serial console
functionality and would like to provide the same service over a telnet
interface. That console service is basically a thread that receives
command lines and writes output to some buffer.

Once the output is written or the buffer is full, I would like to send
that data. Since it is not allowed to call any of the core tcp commands
from outside tcpip_thread, how can I safely wake it up in order to call
any of my callback functions (tcp_poll would do fine)? Any ideas?

I am well aware that I could the netconn or the sockets api to achieve
this, but since I am quite low on memory I would like to keep things as
small as possible (if this is possible, at least).

Thanks in advance

Oliver

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to