Data manipulation using C and threads

Closed Posted Jun 7, 2006 Paid on delivery
Closed Paid on delivery

1) Script should be written entirely in C or C++ and run under Linux shell. It must use threads and connect to feed in fastest posible way (socket) 2) It will be executed from PHP via system() or passthru() command, with 2 parameters: KEYWORD and IP_ADDRESS 3) Script should look for file KEYWORD. If file exists it must read its contents For example: if keyword is "lcd tv" than file "lcd tv" will look like: "best lcd#cheap lcd#panasonic lcd#sony lcd" Now using threads for each of above keywords (separated by "#") AND for main keyword script should connect to: [url removed, login to view] (i.e. [url removed, login to view]) This will return feed, with different information separated by "|"and new lines ("\n"). For each line elements are (as they would appear in array) 0) Result_number 1) Title 2) Description 3) Website_url 4) url where click should be sent 5) Bid You must then sort all results by highest bid descending. Result_number value must be unique (i.e.: I don't want 5 first results to be #1 results from each of the keywords) Final feed with best paid keywords should be printed to STDIO in exacly the same format as feed from feed.peakclick.com. That's basic idea how it should work. I'd like to have 2 additional possibilities in constructing feed 1) If file KEYWORD has more than X keywords separated by "#" I must be able to limit for how many of them we construct feed and make threads (if there will be 10 keywords, it may use too much resources to generate feed, so I'd like to limit if globally to first Y elements 2) If file KEYWORD does not exists we get feed for original keyword and print it. We also log non existant file to specifed directory (ie /home0/htdocs/domain/[url removed, login to view])

## Deliverables

Script should be delivered by email as a source code. After delivery i'll compile it, and run it in live environment. If all will be working, there will be no segmentation faults or other errors i'll finish job.

## Platform

Must run on Redhat 3 Enterprise Edition

C Programming Engineering MySQL PHP Software Architecture Software Testing

Project ID: #3559669

About the project

12 proposals Remote project Active Jun 28, 2006

12 freelancers are bidding on average $170 for this job

zestinfotech

See private message.

$102 USD in 10 days
(31 Reviews)
7.1
yazwas

See private message.

$170 USD in 10 days
(113 Reviews)
6.7
navol

See private message.

$212.5 USD in 10 days
(109 Reviews)
6.1
Aurochs

See private message.

$126.65 USD in 10 days
(57 Reviews)
5.0
grungean

See private message.

$170 USD in 10 days
(15 Reviews)
4.2
johngull

See private message.

$212.5 USD in 10 days
(11 Reviews)
4.2
midnightcodersl

See private message.

$212.5 USD in 10 days
(14 Reviews)
3.7
codegrinder

See private message.

$85 USD in 10 days
(12 Reviews)
3.1
vulcantechvw

See private message.

$212.5 USD in 10 days
(2 Reviews)
2.7
pallela

See private message.

$212.5 USD in 10 days
(0 Reviews)
0.0
ebalvw

See private message.

$212.5 USD in 10 days
(0 Reviews)
0.0
codinghobbyist

See private message.

$106.25 USD in 10 days
(0 Reviews)
0.0