[Top][All Lists]

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

[lwip-devel] [patch #5958] netconn_listen & netconn_accept error handlin

From: Frédéric Bernon
Subject: [lwip-devel] [patch #5958] netconn_listen & netconn_accept error handling
Date: Wed, 23 May 2007 09:50:27 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv: Gecko/20070309 Firefox/

Follow-up Comment #2, patch #5958 (project lwip):

in api_lib.c, in netconn_accept, it will be :

  if (conn->acceptmbox == SYS_MBOX_NULL) {
    conn->err = ERR_VAL;
    return NULL;

and in sockets.c, in lwip_accept, it will be :

  newconn = netconn_accept(sock->conn);
  if (!newconn) {
    LWIP_DEBUGF(SOCKETS_DEBUG, ("lwip_accept(%d) failed, err=%d\n", s,
    sock_set_errno(sock, err_to_errno(sock->conn->err));
    return -1;


Reply to this item at:


  Message posté via/par Savannah

reply via email to

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