I know the basics of socket programming, and not more then that.
But what I would like to do is make a program that lists all the computers on a Local Area Network and underneath each name display all their shared folders.

Ofcourse to 'list' all the computers I need to somehow 'search' the network for all of them.

How would I go about doing this?

After I've listed all the drives, how would I go about sending and recieving shared files?

Thanks for any help you may be able to give