Program to listen a port


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Program to listen a port
Prev   Next
# 1  
Old 08-04-2010
Program to listen a port

I need to launch a script as soon as a file comes via a specified port on my system from another system. Program should work as a dameon and should invoke only when port start/stop accepting file. Any idea how to program/script it...

Please no suggestions for cron. Thanks in advance.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. AIX

Discover the program that use serial port (Sherlock Holmes Case)

Hi, I received a server that use AIX 5.x. This server was installed from a company that doesnt exist now, and they dont leave information about it. I only know that they installed a program that recieve information from some tty in a special format and as it is a tty, with some baud rate,... (4 Replies)
Discussion started by: trevian3969
4 Replies

2. Solaris

How to find port number wwn of particular port on dual port HBA,?

please find the below o/p for your reference bash-3.00# fcinfo hba-port HBA Port WWN: 21000024ff295a34 OS Device Name: /dev/cfg/c2 Manufacturer: QLogic Corp. Model: 375-3356-02 Firmware Version: 05.03.02 FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies

3. Solaris

Listen given port

Good morning! I would like to test a particular port in Solaris, to see if the firewall rules are ok. Should I install an application, but as yet I have not, have to force solaris to keep an open door, and put any application listening to port 1099, and will test a terminal connectivity via... (5 Replies)
Discussion started by: poyato
5 Replies

4. Solaris

Resolving port number to program name

I was just checking to see if anyone had a script that would allow me to go from port number to program name. I tried to create my own script but it looks like it only works for IPv4 sockets and it looks like daemons such as sshd return as AF_INET6 (in pfiles) for some reason. I can fix my script... (0 Replies)
Discussion started by: thmnetwork
0 Replies

5. IP Networking

Configure squid to listen on any IP address with port 80

Hi, I am trying to configure a transparent squid cache. When I try to use the below option in squid.conf, squid listens on port 80 only for the IP address configured on the system's interface. http_port 80 transparent But I want squid to accept connections for any IP address on port 80.... (3 Replies)
Discussion started by: Learner32
3 Replies

6. Programming

how to check port binding in pcap receiving program?

hi, I am writing one packet receiving program using libpcap library. Now, I want to check port is already using or not. how to check in receiver program.. If normal program, bind return value we can able to check the port using or not. but, in pcap program how can i check? thank... (1 Reply)
Discussion started by: ram.sj
1 Replies

7. UNIX for Dummies Questions & Answers

listen to ports...

Hi all, How can I log all requests on ports for programs like ftp, telnet, rsh, xdmcp etc... I want to see if anyone uses these programs/protocols and how often. Is it difficult to setup a log for these ports and listen on all requests? /combat (4 Replies)
Discussion started by: tonlu
4 Replies

8. UNIX for Dummies Questions & Answers

unix program that can port scan a c block of ips for proxies

can anyone tell me a unix program that can port scan a c block of ips for proxies? a fast one, with reliable results, that can load an ip list, or set an ip range, and specify ports thanks! (1 Reply)
Discussion started by: user
1 Replies
Login or Register to Ask a Question
DIDIWIKI(1)						      General Commands Manual						       DIDIWIKI(1)

NAME
didiwiki - simple wiki implementation with built-in webserver SYNOPSIS
didiwiki [options] DESCRIPTION
didiwiki is aimed at those who need a quick and lightweight wiki for personal use, such as notes, "to do" lists, etc. It is written in C, and has very low system requirements (binary size of ~25k stripped). This makes it particularly useful for handhelds. didiwiki does not require installation of a separate webserver, scripting language, or database. The appearance of the wiki pages may be altered by placing a styles.css in ~/.didiwiki or in the directory specified using the --home option. OPTIONS
-d, --debug Start in debug mode. In this case, didiwiki will not bind to any IP address or port: it will only read the requests from standard input (stdin) -h directory, --home=directory By default didiwiki stores its pages in ~/.didiwiki. You can override this by specifying an alternative directory -l ipaddr, --listen=ipaddr By default didiwiki binds to "0.0.0.0". You can override this by specifying an alternative IP address -p port, --port=port By default didiwiki will listen on port 8000. You can override this by specifying an alternative port --help Display the help message EXAMPLES
didiwiki uses syslog to log when it is launched or stopped, and when a page is accessed or modified. Here is an example configuration of rsyslog: $ cat /etc/rsyslog.d/didiwiki.conf local0.* /var/log/didiwiki.log In order to launch didiwiki on a specific IP and port: $ didiwiki -l 127.0.0.1 -p 8080 AUTHOR
didiwiki was written by Matthew Allum <mallum@o-hand.com>. January 15, 2005 DIDIWIKI(1)