[En-Nut-Discussion] Limit to TCP connections?
def at fea.kiev.ua
def at fea.kiev.ua
Thu Dec 15 11:33:27 CET 2005
Hi All.
I have such problem: I open in system three threads (on 1024 byte in a
stack):
NutThreadCreate("TCPClient", TCPClient, 0, 1024);
NutThreadCreate("TCPClient0", TCPClient0, 0, 1024);
NutThreadCreate("TCPClient1", TCPClient1, 0, 1024);
Everyone threads works as TCP-client.
Also I open WEB-server as in examples (httpd):
for (i = 1; i <= 2; i++) {
char *thname = "httpd0";
thname[5] = '0' + i;
NutThreadCreate(thname, Service, (void *) (uptr_t) i, NUT_THREAD_MAINSTACK);
}
All works normally while ALL three threads will not connect to the
servers. As soon as it has occured - the WEB not work. That is 80 port is
not opened 8(
Use ethernut 3.9.8.
More information about the En-Nut-Discussion
mailing list