[email protected] escribió:
. . .
      To create NETIO server is enough to compile and link with MT HVM
      this code:
***********server.prg
         proc main()
            local pListenSocket

            pListenSocket := netio_mtserver()
            if empty( pListenSocket )
               ? "Cannot start server."
            else
               wait "Press any key to stop NETIO server."
               netio_serverstop( pListenSocket )
               pListenSocket := NIL
            endif
         return
***********-> server.prg

Env: WinXP Pro SP3 + Harbour +MinGW

Hi, I'm testing star server, but get this:

Cannot start server.

I'm using this HBP
#
# $Id: uhttpd2.hbp 11370 2009-06-15 18:22:09Z vszakats $
#

server.prg
-lhbnetio
-mt
-lhbvmmt.a

Any TIP?

TIA

Best Regards
GVS


P.D.: Sorry for me bad english

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to