Viewing shares by IP address

BoresExpress bore at pisem.net
Fri Oct 18 21:01:00 GMT 2002


To view share list for some workstation I use the following code:

            int hDir=smbc_opendir("smb://WORK-PC/")



            smbc_dirent *pDirEnt=NULL;

            while ((pDirEnt=smbc_readdir(hDir)) != NULL)

            {

                        //.

            }



But when I try the same code with following samba-URL "smb://192.168.1.2/" I
became an error "No such file or directory". What should I do to view shares
of a remote workstation when I know only IP address?




More information about the samba-technical mailing list