[Top][All Lists]

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

[lwip-devel] [bug #43110] call getpeername() before listen() will cause

From: hanhui
Subject: [lwip-devel] [bug #43110] call getpeername() before listen() will cause a error.
Date: Wed, 03 Sep 2014 13:20:10 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.149 Safari/537.36

Follow-up Comment #4, bug #43110 (project lwip):

  Simon please see netconn_accept()

  This function first check fatal error:

  err = conn->last_err;
  if (ERR_IS_FATAL(err)) {
    /* don't recv on fatal errors: this might block the application task
       waiting on acceptmbox forever! */
    return err;

  because getpeername() set this err = ERR_CONN;

  listen() is OK now, bug netconn_accept will fail.



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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