lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: socket TCP


From: Oscar F
Subject: [lwip-users] Re: socket TCP
Date: Tue, 29 Sep 2009 11:13:05 +0200

Hello, i know exactly the request customer to accept the connection.

the question is, can i accept two or more conecction TCP in only thread of the my program ( create in board EVK1100 AVR32 )

a) if the answer is yes , can i use this method or need to use select():
for(i=0;i<8;i++)
 aSocket[i]= accept(lSocket[i],(struct sockaddr*)&sRemoteAddr[i],(socklen_t *)sizeof(sRemoteAddr[i]));


b) if the answer is no, => i must create more thread, musn´t i?

Thanks
Oscar


On Tue, Sep 29, 2009 at 8:02 AM, Oscar F <address@hidden> wrote:
Hello everybody,

has someone  created in EVK11000 AVR 32, one only task with two socket TCP and it´s work? because  i can´t do it!!
Thanks

Oscar


reply via email to

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