On Tue, 01 Sep 2009, AbeB wrote: Hi,
> Works Great! > can it be made to support names like net:hostname:port:filename instead of > ip address? It can be done if you need it. It's enough to call hb_socketResolveAddr() but remember that in such case you will need fully functional DNS service. > also in my test the NETIO_CONNECT(): returns .F., but it works! > NETIO_CONNECT(): .F. Have you passed your server IP address and port as NETIO_CONNECT() parameters? If not then it only registers "net:" file IO API returning false and server address and port has to be given in file name. If you initialize valid server address and port using NETIO_CONNECT(), i.e. ? "NETIO_CONNECT()", NETIO_CONNECT( "192.168.0.1", 2941 ) then later you can simply use: use net:path/filename without server address and port. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour