A272R版本优化
This commit is contained in:
@ -505,7 +505,7 @@ alloc_socket(struct netconn *newconn, int accepted)
|
||||
LWIP_UNUSED_ARG(accepted);
|
||||
|
||||
/* allocate a new socket identifier */
|
||||
for (i = 0; i < NUM_SOCKETS; ++i) {
|
||||
for (i = 3; i < NUM_SOCKETS; ++i) {
|
||||
/* Protect socket array */
|
||||
SYS_ARCH_PROTECT(lev);
|
||||
if (!sockets[i].conn) {
|
||||
|
Reference in New Issue
Block a user