Hi Przemek,

>>> Log Message:
>>> -----------
>>> 2010-01-13 15:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
>> ...
>>>   + Added support for -rpc=file.hrb option. Although for some
>>>     reason (most likely my omission) it doesn't work yet.
>> Any idea why it doesn't work?
> 
> It should be fixed now. Sorry I haven't noticed that you are asking
> about it.

Wow, now it works, great to see it, Thank you.
Opens lots of possibilities.

> BTW current netiosrv code uses stdout output but it also try to read
> input. It creates serious problems for most Harbour GT drivers.
> If you want to read input then you should switch to console output
> (QOut()/QQOut() instead of OutStd()).

I know, it's a work in progress. I'll switch the interactive 
part to QOUT(), I'll need GET any for a better input method.

Probably RPC trace output will be best to direct into separate 
console or separate section of the console, or file.

BTW, why can I launch multiple server instances on same 
iface/port? (on Win7) Should the second one exit with 
error?

Another issue with HB_STRCLEAR().
Client won't be able to connect, if I start the server like this:
---
   netiosrv[ _NETIOSRV_pListenSocket ] := ;
      netio_mtserver( netiosrv[ _NETIOSRV_nPort ],;
                      netiosrv[ _NETIOSRV_cIFAddr ],;
                      netiosrv[ _NETIOSRV_cRootDir ],;
                      iif( Empty( netiosrv[ _NETIOSRV_cRPCFHRB ] ), netiosrv[ 
_NETIOSRV_lRPC ], hb_hrbGetFunSym( netiosrv[ _NETIOSRV_cRPCFHRB ], _RPC_FILTER 
) ),;
                      @cPassword )

   netiosrv[ _NETIOSRV_lEncryption ] := ! Empty( cPassword )
   hb_StrClear( @cPassword )
---

If I deleted HB_STRCLEAR() call it's OK.
I's also OK if I deleted "@" from "@cPassword" in netio_mtserver() call.

Brgds,
Viktor

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to