[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP server netconn API
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] TCP server netconn API |
Date: |
Mon, 6 Feb 2012 19:19:16 +0000 |
On 5 Feb 2012, at 13:08, Saket Chawla wrote:
> All files are included and no errors / warnings occur for compile
> But in netconn_bind I receive an error
>
> Assertion "netconn_bind: invalid conn" failed at line 172 in
> lwip/src/api/api_lib.c
> Aborted
>
> Please let me know if i am missing something obvious
What value did netconn_new() return? You're immediately passing this to
netconn_bind() without checking that it succeeded.
> Also i did try to understand the server implementation from simhost but it is
> too complicated for a basic echoserver application
> So any reference manual or if someone has already build such application for
> a start then a link to it is deeply appreciated.
The lwIP wiki is the most up to date source for information like this.
Kieran