On Thu, 07 Jan 2010, Mindaugas Kavaliauskas wrote: Hi,
> >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... Ups. Sorry I forgot that automatic initialization is not enabled by default. In netiocli.c it's covered by: #if defined( HB_NETIO_STARTUP_INIT ) [...] #endif So it's expected and probably also startup winsock initialization works. If possible please check it by adding ' || 1 ' to above #if condition and replacing: hb_vmAtInit( s_netio_init, NULL ); with: s_netio_init( NULL ); BTW how expensive (time consuming) is WINSOCK initialization in MS-Windows? > BTW: > ../../../netiocli.c: > Warning W8004 ../../../netiocli.c 502: 'size' is assigned a value > that is never used in function s_netio_params Thanks for the info. I'll clean it on next commit. best regards, Przemek _______________________________________________ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour