[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] Help with netconn API for TCP
From: |
address@hidden |
Subject: |
Re: [lwip-users] Help with netconn API for TCP |
Date: |
Mon, 4 Nov 2019 21:31:57 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
Am 31.10.2019 um 18:25 schrieb chandrahas:
Hi,
Could someone please point me to a good example or function sequence for
using netconn API to implement a TCP Server?
For my application, I need to create interfaces for TCP Server to configure
the server and also provide call backs to application process on events in
TCP Server.
Is it possible to figure out the state of my TCP Server connection in the
call back function passed to /netconn_new_with_callback()/ during TCP Server
initialization ?
The passed call back function is invoked with the below events and it is not
clear in the explanation, when each event occurs:
/ NETCONN_EVT_RCVPLUS
NETCONN_EVT_RCVMINUS
NETCONN_EVT_SENDPLUS
NETCONN_EVT_SENDMINUS
NETCONN_EVT_ERROR/
I am really stuck with this and appreciate any pointers or help.
Sorry if the documentation is not clear enough. The best documentation
you can get here is to study the sockets code (the number one user of
netconn API, probably).
And yes, this *should* really be better documented...
Regards,
Simon
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [lwip-users] Help with netconn API for TCP,
address@hidden <=