C++ function to return whether two URLs are on the same domain

Completed Posted Jan 20, 2010 Paid on delivery
Completed Paid on delivery

Need a C++ function written in Visual Studio 2008 which essentially takes input of two URLs in string format and determines if both URLs are on the same major domain, and the function returns true if they are both on the same major domain.

## Deliverables

Criteria for determining if? two URLs are on the same domain:

The point is to try to find the second-most top level domain. The top level domain being .com, .biz, .org, etc. So, this function would be able to see that <[login to view URL]> is on the same domain as <[login to view URL]> .

I have a C# function for finding the first level subdomain. Please use that as a guide for building the same type of functionality in this C++ function.

Also, you must handle the case where there is a port number attached to the URL. For instance: [[login to view URL]][1], such that the port number add-on does not affect the domain comparison.

C Programming Engineering MySQL PHP Project Management Software Architecture Software Testing

Project ID: #3108803

About the project

4 proposals Remote project Active Jan 21, 2010

Awarded to:

rjrudman

See private message.

$21.25 USD in 2 days
(14 Reviews)
3.0

4 freelancers are bidding on average $35 for this job

russianitgroup

See private message.

$38.25 USD in 2 days
(63 Reviews)
5.6
GreyHats

See private message.

$38.25 USD in 2 days
(80 Reviews)
5.0
kanhashriinc

See private message.

$42.5 USD in 2 days
(9 Reviews)
2.9