08-21-2009
If you want to open your own port using your own program, read about TCP/IP api and create your own daemon.
If you just want an application to listen on a port you can configure Inetd to listen on specific port for you. check /etc/inetd.conf
9 More Discussions You Might Find Interesting
1. Linux
How can I open a port on linux machine ??? (5 Replies)
Discussion started by: mm00123
5 Replies
2. AIX
Hi Guys,
i am trying to open a port in AIX.
but i am not able to get the command for this. AIX is not having the iptables file present.
So please any body can tell me how to open a port in AIX...
Thanks
sanju (2 Replies)
Discussion started by: sanju_d1231
2 Replies
3. IP Networking
Hi. I ran nmap on my server, and I get the following:
Starting Nmap 4.76 ( http://nmap.org ) at 2009-03-19 16:33 EDT
Interesting ports on -------- (-----):
Not shown: 997 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
6881/tcp open bittorrent-tracker
The... (0 Replies)
Discussion started by: Rledley
0 Replies
4. Solaris
Dear members,
My release is open Solaris b103
1- How to know the opening port in my system
2- How to open a specific port like port number 53
3- How to closed the specific port like port number 53
Your feedback highly appreciated (10 Replies)
Discussion started by: dellroxy
10 Replies
5. Solaris
Hi All,
I am installing Infosphere (ETL tool) on solaris 10.
One of the requirement is to open multiple ports for different apps that will be installed. I ran netstat -n | grep 9080 (,etc) but that did not return anything.
I have attached the requirement. Can anyone guide me about how to... (3 Replies)
Discussion started by: sumeet
3 Replies
6. UNIX for Advanced & Expert Users
hi experts,
I'm using Linux Centos kernel 2.6
Here is the print out of some my port :
tcp 0 0 127.0.0.1:10080 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10081 0.0.0.0:* LISTEN
tcp 0 0... (4 Replies)
Discussion started by: justbow
4 Replies
7. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
8. HP-UX
Hello Experts,
I want to open the port 443 on my HP-UX system.
can you please help ?
Thanks in advance. (1 Reply)
Discussion started by: purushottamaher
1 Replies
9. Solaris
Hi there,
I tried just open a port but I failed ;-(
# telnet localhost 9876
That should work so I did ...
# vi /etc/services
myport 9876/tcp # my port
# svcadm restart inetd
-> New pid, see ps - ef | grep inet
# netstat -an | grep 9876
No port 9876 is waiting ;(
#... (4 Replies)
Discussion started by: System
4 Replies
LEARN ABOUT CENTOS
ieee1284_get_irq_fd
IEEE1284_GET_IRQ_FD(3) Functions IEEE1284_GET_IRQ_FD(3)
NAME
ieee1284_get_irq_fd, ieee1284_clear_irq - interrupt notification
SYNOPSIS
#include <ieee1284.h>
int ieee1284_get_irq_fd(struct parport *port);
int ieee1284_clear_irq(struct parport *port, unsigned int *count);
DESCRIPTION
If the port has a configured interrupt line and the port type supports interrupt notification, it is possible to obtain a file descriptor
that may be used for select(2) or poll(2). Any event (readable, writable or exception) means that an interrupt has been triggered. No
operations other than select or poll may be performed on the file descriptor.
The port must be open in order to call ieee1284_get_irq_fd, and must be claimed when using select or poll.
The caller must not close the file descriptor, and may not use it at all when the port is not claimed.
When an interrupt has been detected, the caller must call ieee1284_clear_irq to clear the interrupt condition, at which point the number of
interrupts raised can be obtained by supplying a non-NULLcount.
RETURN VALUE
For ieee1284_get_irq_fd: If the return value is negative then it is an error code listed below. Otherwise it is a valid file descriptor.
E1284_NOTAVAIL
No such file descriptor is available.
E1284_INVALIDPORT
The port parameter is invalid (for instance, perhaps the port is not open).
For ieee1284_clear_irq:
E1284_OK
The interrupt has been cleared. If count was not NULL the count of interrupts has been atomically stored to count and reset.
E1284_NOTAVAIL
The count parameter was not NULL but interrupt counting is not supported on this type of port. The interrupt has been cleared.
E1284_SYS
There was a problem clearing the interrupt.
E1284_INVALIDPORT
The port parameter is invalid (for instance, perhaps the port is not claimed).
AUTHOR
Tim Waugh <twaugh@redhat.com>
Author.
COPYRIGHT
Copyright (C) 2001-2003 Tim Waugh
[FIXME: source] 06/17/2014 IEEE1284_GET_IRQ_FD(3)