提交 8a0409ab 编写于 作者: B bernard.xiong

add lwip_get_error function.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@420 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 860d1ddf
......@@ -238,6 +238,14 @@ alloc_socket(struct netconn *newconn)
return -1;
}
int lwip_get_error(int s)
{
struct lwip_socket *sock;
sock = get_socket(s);
return sock->err;
}
/* Below this, the well-known socket functions are implemented.
* Use google.com or opengroup.org to get a good description :-)
*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册