You need to compile server using MT hbmk2 server -MT -lhbnetio
Bruno 2010/4/22 Winston Garcia <[email protected]> > Thanks Bruno. > > Can you say me how i compile with MT Mode ? > > What Program i compile with MT mode Client or Server, or Client And Server > ? > > Thanks by your suuport > > > > My Env is Server Ubuntu-Server 8.04 And Client WinXp > > Greeting > > > --- El *jue, 22/4/10, Bruno Luciani <[email protected]>* escribió: > > > De: Bruno Luciani <[email protected]> > Asunto: Re: [Harbour] NETIO Questions > Para: "Harbour Project Main Developer List." <[email protected]> > Fecha: jueves, 22 de abril, 2010 20:36 > > > Do you have compiled in multithread mode ? > > I don't have tested yet in multiple connections but If I am not wrong > I read that , it is needed MT mode > > This is my server , the defines , are not needed but i use it as a remember > of defaults for the server > > Bruno > > > #define DBSERVER "127.0.0.1" > #define DBPORT "2941" > #define DBPASSWD "topsecret" > #define DBDIR "data" > #define DBFILE "clients" > > #define DBNAME "net:" + DBSERVER + ":" + DBPORT + ":" + ; > DBPASSWD + ":" + DBDIR + "/" + DBFILE > > request DBFCDX > > request HB_DIREXISTS > request MAKEDIR > > proc main() > local pSockSrv, lExists > > set exclusive off > rddSetDefault( "DBFCDX" ) > > pSockSrv := netio_mtserver( DBPORT,,, /* RPC */ .T., DBPASSWD ) > if empty( pSockSrv ) > ? "Cannot start NETIO server !!!" > wait "Press any key to exit..." > quit > endif > > ? "NETIO server activated." > hb_idleSleep( 0.1 ) > wait > > > 2010/4/22 Winston Garcia > <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> > > > >> Hi Bruno. >> >> Have you a sample of Netio server what received many conections ? >> >> The samples en contrib/netio only accept one conection at time ? >> >> Greeting >> >> Winston Garcia >> Venezuela >> >> --- El *jue, 22/4/10, Winston Garcia >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> >* escribió: >> >> >> De: Winston Garcia >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]>> >> >> >> Asunto: Re: [Harbour] NETIO Questions >> Para: "Harbour Project Main Developer List." >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> > >> Fecha: jueves, 22 de abril, 2010 13:23 >> >> >> Thanks Bruno. I'll try. >> >> Winston Garcia >> >> --- El *jue, 22/4/10, Bruno Luciani >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> >* escribió: >> >> >> De: Bruno Luciani >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> > >> Asunto: Re: [Harbour] NETIO Questions >> Para: "Harbour Project Main Developer List." >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> > >> Fecha: jueves, 22 de abril, 2010 13:17 >> >> I am using Netio to some tests >> >> You neet to compile server using MT support ( Multithread ) >> >> In my tests i try in this way to use index and aparently work ok >> >> >> >> if !FILE("net:clients.cdx") >> index on Nombre tag nom to net:clients.cdx >> endif >> >> Bruno >> >> 2010/4/22 Winston Garcia >> <[email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> > >> >>> Hi All, my English is bad. >>> >>> How work the index in netio ? >>> any sample ? >>> The Netiosvr samples only support one conection, how i enable to support >>> any conection ? >>> >>> greeting >>> >>> Winston Garcia >>> Venezuela >>> >>> >>> _______________________________________________ >>> Harbour mailing list (attachment size limit: 40KB) >>> [email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >>> http://lists.harbour-project.org/mailman/listinfo/harbour >>> >>> >> >> -----Adjunto en línea a continuación----- >> >> _______________________________________________ >> Harbour mailing list (attachment size limit: 40KB) >> [email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> http://lists.harbour-project.org/mailman/listinfo/harbour >> >> >> >> -----Adjunto en línea a continuación----- >> >> _______________________________________________ >> Harbour mailing list (attachment size limit: 40KB) >> [email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> http://lists.harbour-project.org/mailman/listinfo/harbour >> >> >> >> _______________________________________________ >> Harbour mailing list (attachment size limit: 40KB) >> [email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> >> http://lists.harbour-project.org/mailman/listinfo/harbour >> >> > > -----Adjunto en línea a continuación----- > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected]<http://es.mc269.mail.yahoo.com/mc/[email protected]> > http://lists.harbour-project.org/mailman/listinfo/harbour > > > > _______________________________________________ > Harbour mailing list (attachment size limit: 40KB) > [email protected] > http://lists.harbour-project.org/mailman/listinfo/harbour > >
_______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
