lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] exception in the second call to netconn_bind


From: David Shmelzer
Subject: [lwip-users] exception in the second call to netconn_bind
Date: Thu, 29 Jan 2009 11:59:29 -0500

Hi,
I'm getting a processor exception in the second call to netconn_bind.
Here is the simplified version of the code that reproduces the problem:

  conn=netconn_new( NETCONN_TCP );
  netconn_bind(conn, NULL, portnum);
  netconn_listen( conn );
  netconn_delete(conn);
  conn=netconn_new( NETCONN_TCP );
  netconn_bind(conn, NULL, portnum);

I left out the netconn_accept() call because it doesn't make a
difference.
What is the correct way of deleting a listening connection?
Is there an example somewhere? The BasicWeb.c examples never close the
listening connection. 

Thanks,
Dave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]