CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
recieve tcp-packets and save them in file/database

 



Digitum
New User

Oct 5, 2010, 2:46 AM

Post #1 of 1 (1422 views)
recieve tcp-packets and save them in file/database Can't Post

Hello.

I am new to Perl and is learning, but I need help with a script right now.

It shall listen on a certain tcp-port and accept multiple connections to it.

On connect, the sender will send one or several packages per session, not more than 100 bytes each packet, with information.

Initially, the information shall be saved to a mysql-database, where source IP, timestamp and data is saved in respective fields in a temporary table for later processing.

Also, there should be possible to send a command via tcp from localhost to terminate the script.

Thats all. When I learn more about Perl, I will develope the script to decode the information and save it directly to the target database.



Thank you very much.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives