I have written a small VI to perform the same tasks as the NI Replication toolkit. This VI is not locked so you can see how it works. I use this to search for configured RT targets for data acquisition.
CommunicationNetworking,en,846,1938,4796,16,8,2712,8.5,