on 31/07/2009 2.14 Przemyslaw Czerpak wrote:
One fix to the code I've sent. I forgot to add header terminator striped by hb_InetRecvEndBlock(). Please change: /* receive query */ #ifdef USE_HB_INET cRequest := hb_InetRecvEndBlock( hSocket, CR_LF + CR_LF, @nLen ) #else to: /* receive query */ #ifdef USE_HB_INET cRequest := hb_InetRecvEndBlock( hSocket, CR_LF + CR_LF, @nLen ) IF nLen > 0 cRequest += CR_LF + CR_LF ENDIF #else
ok, thank you. Best regards, Francesco _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour