En cours

C++ Image Retrieval over HTTP (with mySQL integration)

Write a C++ program to read a list of IP addresses from a database and retrieve a document (eg an image) via http from each address.

See pseudo code below for general behavior.

Environment: Must run on Centos 6.x 32-bit linux

Deliverables:

- fully commented code

- Makefile

- documentation on

- how to compile

- external libraries required

- how to test/demo

Pseudo code:

// MAIN FUNCTION

while (1)

{

ipList = Read From Table WHERE( enabled==true)

foreach (client in ipList)

{

if ( !isReaderRunning[client] )

spawn_thread( reader_task(client) )

}

sleep(30)

}

bool

isReaderRunning(client)

{

bool running;

mutex_lock

running = client_running[cilent]

mutex_unlock

return running;

}

Define URL "/image/[url removed, login to view]"

// READER

// fetches a single document from the IP

void

reader_task(client)

{

mutex_lock

client_running[client] = true

mutex_unlock

try = 0

while (try < 3)

{

fetch_URL_with_http(client+URL)

if (fetch was successful)

break;

try++

}

if (try < 3)

set DB for client (unreachable = true))

else

set DB for client(lastAccess = currentTimestamp)

mutex_lock

client_running[client] = false

mutex_unlock

}

Database Schema

ipAddr (char)

enabled (bool)

lastAccess (timestamp)

unreachable (bool)

Compétences : Programmation C++, MySQL, Architecture Logicielle

Voir plus : set bit in c, architecture define, image retrieval jsp mysql server, mssql integration mysql, Content based image retrieval, php mysql upload image resize, php mysql upload image file, php mysql remove image user, j2me http image, accordion menu integration mysql, integration mysql php paypal, asp mysql display image

Concernant l'employeur :
( 4 commentaires ) Singapore, Singapore

N° du projet : #8460492

Décerné à :

hbxfnzwpf

I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used Plus

150 $ SGD en 3 jours
(59 Commentaires)
6.4

13 freelance ont fait une offre moyenne de 149 $ pour ce travail

kaloyan13

A proposal has not yet been provided

100 $ SGD en 1 jour
(101 Commentaires)
6.0
ithuang2014

A proposal has not yet been provided

147 $ SGD en 3 jours
(52 Commentaires)
4.6
stevensow

Hi There, I am a serious bidder. And I can start to work with you right now. Once I accept your project, I am sure I can complete it and satisfy your desires. However, I need to know exactly details you want befor Plus

155 $ SGD en 1 jour
(10 Commentaires)
4.3
lis82

Hello, i am experienced C/C++ developer under linux environment. I propose to do this project using two dependencies - libcurl and libmysqlclient. Thanks.

100 $ SGD en 3 jours
(10 Commentaires)
4.4
csanuragjain

hi i can make this in c++ and if its allowed i can make this in java which can run easily on centos thanks

111 $ SGD en 10 jours
(13 Commentaires)
4.1
drozhkov

A proposal has not yet been provided

244 $ SGD en 5 jours
(3 Commentaires)
3.7
cscinstructor

I have read and fully understood your requirements. Please open chat to discuss further….. =================+++++++++++++++++++++++++==================

277 $ SGD en 5 jours
(6 Commentaires)
3.5
eitan1195

A proposal has not yet been provided

155 $ SGD en 3 jours
(12 Commentaires)
3.6
Adnan853

Sir, The job requirements are fit to our skills in a superb manner and We are highly interested to do the job. Also your project will be a greatest opportunity for proof our quality. We are young & energetic team Plus

100 $ SGD en 2 jours
(2 Commentaires)
3.2
grtdeveloper

Rich Experience with C,C++,Python on Linux. Can deliver the solution in committed time with accurate results.

152 $ SGD en 5 jours
(3 Commentaires)
3.6
Meyson

Предложение еще не подано

200 $ SGD en 3 jours
(4 Commentaires)
1.9
klimzpua

Hello! Can do this task for you very quickly. It will run on Linux. I have wide experience in writing utilities on C++ (including client-servers scripts, web scraping, monitoring and control systems, work with da Plus

100 $ SGD en 1 jour
(1 Commentaire)
1.0
zephyrfaq

A proposal has not yet been provided

155 $ SGD en 4 jours
(0 Commentaires)
0.0
shyamkodase

Complete Working Code with Executables

36 $ SGD en 15 jours
(0 Commentaires)
0.0