Re: Re: Re: [lwip-users] will lwip support asyncselect justlikeWSAAsyncSelect

2011-04-06 Thread chenyintao
Hi,Simon! Thanks for your reply! >I'm assuming this is a nonblocking connect? yes! > select(65,readset, writeset,errset, 0); > for(i=0;i { > if (FD_ISSET(clientsocket[i].socket, writeset)) > send(); > if (FD_ISSET(clientsocket

Re: Re: [lwip-users] will lwip support asyncselect just likeWSAAsyncSelect

2011-04-06 Thread chenyintao
园A区4楼 *** - 发件人:Kieran Mansley 发送日期:2011-04-03 18:45:17 收件人:Mailing list for lwIP users 抄送: 主题:Re: [lwip-users] will lwip support asyncselect just likeWSAAsyncSelect On 2 Apr 2011, at 06:29, chenyintao wrote: > Hi! > I want to use lwip 1.3.2 to support multiple sessions in a embe

[lwip-users] will lwip support asyncselect just like WSAAsyncSelect

2011-04-01 Thread chenyintao
Hi! I want to use lwip 1.3.2 to support multiple sessions in a embedded system. But I foud it is so inefficient to use the api select when there are 64 sockets as clients.For example,a modbus client socket can only do the receive data after all the 64 sockets finish sending. will any

[lwip-users] problem with the function tcpip_apimsg

2011-02-14 Thread chenyintao
Hi! I have a questino with the funciton tcpip_apimsg. when the mbox if full and sys_mbox_post(mbox, &msg) is failed so the msg would lost,but the sys_arch_sem_wait(apimsg->msg.conn->op_completed, 0) is still called.Will it caused the application thread suspended forever because it's wa