I have an internet application i am building and want to use SRV records for specifying the server the clients will connect to, i know i can resolve normal DNS entries A records and CNAME records by using the winsock api gethostbyname calls but how do i do SRV records?

Does anyone have any source code or can tell me how to do it.

P.S. i would like to be able to do without using an activex control if possible so i can minimise the download size.