In Progress

Rewrite PHP daemon script in C (libpq+ postgresql)

I have a script of about 100 lines written in PHP. When launched it listens indefinitely until killed for UDP packets on a interface and when it receives them it will unpack the byte encoded string and based on conditions (length of string) it does update queries on a database. 1 update per string received if condition met.

When rewritten in C it will have to become a daemon and it will have to use libpq (PostgreSQL 9.4) to access my database. I will need the sources so that I can compile myself. If possible I would like to add logging functions so I can log the unpacked UDP string to a file of my choice (example /var/log/mydaemon)

When launched it has to take parameters on command line that will be IP and port to listen. eg: ./mydaemon [url removed, login to view] 6789

Skills: C Programming, Linux, PHP, PostgreSQL

See more: php article rewrite script, script php rewrite, function rewrite script php, php mod rewrite download script, login script php, templatemonster script php, form email script php godaddy, script php scripts filehost, automated article submitter script php web based, google maps distance script php

About the Employer:
( 0 reviews ) Valsamoggia, Italy

Project ID: #7794657

Awarded to:

rgarcia3934

Hello, I am interested. Do you have a deadline? Do you provide the source of the UDP packets? thanks, Ronald

$80 USD in 3 days
(1 Review)
1.3

8 freelancers are bidding on average $160 for this job

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 More

$250 USD in 4 days
(55 Reviews)
6.2
roadroll

A proposal has not yet been provided

$155 USD in 3 days
(6 Reviews)
4.3
mikeDevel

Sir, I'm a senior software developer with 10+ years of experience in c/c++ development, especially in networking environment, co I can perfectly understand the requirements and can provide you with well written and More

$166 USD in 3 days
(6 Reviews)
4.4
ithuang2014

A proposal has not yet been provided

$252 USD in 3 days
(38 Reviews)
4.1
furqaanwar

Hello Sir I am an expert web developer with an experience of over 5 years and did bachelors degree along with masters in computer science major. Along with development i also do my design and make adjustment to the More

$250 USD in 3 days
(3 Reviews)
3.7
lis82

Hello, i am experienced C/C++ programmer under linux (over 6 years). I can rewrite this script for you but i need some sample database for tests. Thanks.

$100 USD in 2 days
(8 Reviews)
3.7
pilot1983

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

$133 USD in 3 days
(1 Review)
1.2
unicstech

Have extensive programming skills in writing demon service and applications for Unix/Linux and C/C++ platfomrs for more than 11 years of experience from reputed IT MNC's for enterprise class prodcuts developments.. l More

$147 USD in 5 days
(1 Review)
0.0