Barry,

I never used a loopbak device, I did attach a modem and send to it an ATIx
command which makes the modem answer back with some internal data/status.

I was even able to print to a serial printer from linux (an old mandrake).

That said, tp_xxx is just a prof of concept and it was not finished nor
polished because the project that should have used it never saw the light.

So, I'd look at the C code, is very simple, maybe you can put some printf()
there to see what happens at the low level.

I'd also try a tp_recv( 1, 1 ) // see second one, which is num of chars to wait.

Also, tp_recv() calls fetchchars() which calls p_ReadPort() which is the
function that does the real work and is written in C.

Hope this helps you in some way.

Maurilio.

Barry Jackson wrote:
> Marilio,
> I just tested with the laptop and hbtpathy is now receiving - only - hence
> the loopback fail.
> 
> Send String = g
> FetchChars = ffff
> Handle          3
> Recv string = ffff
> ffff
> 
> So we are half way there!
> Pity it's this way round as my application only needs to send !
> 
> Barry

-- 
 __________
|  |  | |__| Maurilio Longo
|_|_|_|____| farmaconsult s.r.l.


_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to