Dibatalkan

PHP Telnet String Listener

I need help getting started with my project. I would like to get code which will connect to a telnet server and listen for certain strings.

I would like to create an array of strings to watch for. When these strings come in on the telnet session I would like to run a function (Like write a flag to a database for example)

I would also like to use wildcards in the strings. For example:

"HE*O" would trigger on "HELLO"

"HE??O" would trigger on "HELLO"

"HE?O" would NOT trigger on "HELLO"

I'm not sure if you will need to do regular expressions for this or not. I've researched somethign called 'expect' in php and python which might work. I also had teh idea of using a FIFO buffer and constantly looping through my array to see if it matches the telnet buffer. I am looking for someone to write the low level base of this code then I will take it and continue on with the functinality after strings are being matched and dummy functions are being triggered.

This will run 24/7 in a PHP CLI instance. The real world application for this is to listen to a telnet enabled lighting server, when the server gives the code for Light #2 on I will flag it in the database, etc, for every light.

I found this, but I'm not sure if it's what we need:

[url removed, login to view];file=patServer/[url removed, login to view]

Please bid only if you are ready to start this.

Kemahiran: PHP

Lihat lebih lanjut: php telnet listener, telnet string, create dummy listener telnet, telnet string php, php telnet buffer, what to write on my overview, using regular expressions, using expressions, use regular expressions, to string, string the, string i, string 2, session php, regular expressions in c, regular expressions example, regular expressions c, real expressions, m string, lighting the world, help php, get string c, get started with python, file expect, expect file

Tentang Majikan:
( 2 ulasan ) New York, United States

ID Projek: #62313

2 pekerja bebas membida secara purata $100 untuk pekerjaan ini

bizpromotionin

Dear Sir/ Madam ------ We are a PIONEER company in Web Applications, Application development and Search Engine Optimization. Please find attached a BROCHURE of our company, [url removed, login to view], which contains all the details. We Lagi

$99 USD dalam 15 hari
(1 Ulasan)
6.0
msgaruba

I have worked on similar projects connecting to remote servers using sockets and listening for replys. Send me a pm and we can get started on this immediately. Thanks

$100 USD dalam 7 hari
(13 Ulasan)
4.2