Hi,

Przemysław Czerpak wrote:
   2010-01-07 14:14 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
     * harbour/contrib/hbnetio/netiocli.c
       ! use hb_vmAtInit() to initialize NETIO - looks that winsock
         initialization in startup code does not work - please test

If possible please verify if this code:

   PROC main()
      ? NETIO_PROCEXISTS("127.0.0.1:2941:STR")
   RETURN

works after above modification. I cannot test it in Linux because
in WINE WINSOCK initialization is not necessary.

It still does not work... I've put some debug code:

conn = s_fileConnect( &pszProcName, NULL, 0, 0 ); in s_netio_procexec() returns NULL.

sd = hb_socketOpen( HB_SOCKET_PF_INET, HB_SOCKET_PT_STREAM, 0 ); in s_fileConnect() returns -1.


BTW:

../../../netiocli.c:
Warning W8004 ../../../netiocli.c 502: 'size' is assigned a value that is never used in function s_n
etio_params


Regards,
Mindaugas
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to