17 Jun
2010
17 Jun
'10
7:55 a.m.
Hi, a bit success now. When I use this command: $con = new ESLconnection(intval($csock)); I got an ESLconnection object, but it is not usable. var_dump($con) shows object(ESLconnection)#1 (1) { ["_cPtr"]=> resource(7) of type (_p_ESLconnection) } which looks good to me, but strace still shows "Bad file descriptor": setsockopt(6, SOL_TCP, TCP_NODELAY, [1], 4) = -1 EBADF (Bad file descriptor) sendto(6, "connect\n\n", 9, 0, NULL, 0) = -1 EBADF (Bad file descriptor) Calling $con->getINFO() results in NULL ... regards Helmut