Hi,
socket.c - alternative lightweight socket library, I do not like
hbinet.c a lot. If you want to compile it for Linux,
Just for curiosity what you don't like in hbinet.c ?
1) strange, difficult to remember function names, ex., hb_InetPort()
returns port, but I can't remember local or remote. getpeername() is
more clear to me. hb_InetTimeout(), hb_InetTimelimit() - I do not know
that is we difference. hb_InetCount() - number of what? Internet
providers on my computer? I do not find bind() and listen() functions in
the list. hb_InetRecvEndBlock() - what kind of animal is it?
Perhaps I'm just used to see original socket function names and original
function behaviour. I need to start learning sockets from beginning, if
I want to write an application using hbinet.c. Actually I've tried to
use hbinet.c instead of my own library for uhttpd to make it work under
pure Harbour, but after I've used hb_InetCreate() and hb_InetServer(),
I've understood I'm going to go my way. I haven't reached hb_InetAccept().
2) absent C API;
3) looking to .c code is also a little difficult.
Regards,
Mindaugas
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour