Hi Przemek,
Il 28/07/2009 10.49, Przemyslaw Czerpak ha scritto:
We should make also real application tests.
It's possible that I made some typos which
should be located and fixed so I'm very
interested in information about existing
applications using HB_INET*() functions or
HBTIP library.
testing httpserv with hb_Inet*() functions I get no receiving lines.
in uhttpd.prg around line 1799 (I have added some lines for debugging)
where code is:
cRequest := ""
nLen := 0
nRcvLen := 1
nContLen := 0
DO WHILE /* AT( CR_LF + CR_LF, cRequest ) == 0 .AND. */ nRcvLen > 0
cBuf := hb_InetRecvLine( hSocket, @nRcvLen )
I got:
nRcvLen = -1, cBuf = NIL
Is this correct ? Before I get only not empty lines.
I realize that probably this piece of code is wrong as I don't check for
empty lines, but before this returns only when there was something in
buffer.
Best regards,
Francesco
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour