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

完了済み 投稿 Jan 20, 2010 着払い
完了済み 着払い

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 プログラミング エンジニアリング MySQL PHP プロジェクト管理 ソフトウェアアーキテクチャ ソフトウェアテスト

プロジェクトID: #3108803

プロジェクトについて

4個の提案 リモートプロジェクト アクティブ Jan 21, 2010

アワード:

rjrudman

See private message.

$21.25 USD 2日以内
(14レビュー)
3.0

4人のフリーランサーが、平均$35 で、この仕事に入札しています。

russianitgroup

See private message.

$38.25 USD 2日以内
(63件のレビュー)
5.6
GreyHats

See private message.

$38.25 USD 2日以内
(80件のレビュー)
5.0
kanhashriinc

See private message.

$42.5 USD 2日以内
(9件のレビュー)
2.9