12-02-2002
RTM, Thank you very much ,it does work.Thank you!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am a total new UNIX users and I'm trying to install a SUN Netra X1 server with Solaris 8 into our Windows NT 4.0 network.
I'm having a connection using the Hyperterminal.
:confused: (3 Replies)
Discussion started by: pirox_guido
3 Replies
2. UNIX for Dummies Questions & Answers
Can anybody help me on how to configure the network in Sun Solaris. This is my first time to touch sun system please help!!!:confused: :confused: (2 Replies)
Discussion started by: jameswong
2 Replies
3. UNIX for Dummies Questions & Answers
Hey there,
I am starting a Computer Science Foundation year at the end of this month and am trying to get a little bit ahead of the game. I have always wanted to learn Unix and am currently struggling with creating a boot disc to run Solaris (I have chosen to study this) from as opposed to... (0 Replies)
Discussion started by: Jupiter
0 Replies
4. Solaris
Hi all,
I have install sun solaris 10 on vmware server and i cant ping the solaris guest machine from the host and vice versa.
The enable network card in the host machine is an wifi card so I know that i can't use bridged network from Vmware.
I tried to use host or NAT but it seem not to work... (1 Reply)
Discussion started by: papiseckfr
1 Replies
5. Solaris
I want to start studying for Sun Certified Network Administrator for Solaris 10 OS (CX-310-302)
Are there any books or study guides for this? I am pumping a dry well on Amazon and Borders...
What have you used to study for this? Is there anything out there that is reasonable? I am not... (10 Replies)
Discussion started by: BrewDudeBob
10 Replies
6. Solaris
Hi guys,
i am a new user of sun solaris, i am using solaris 10, please help me how to install HP 1022n printer. This printer is in network.
Thanks
Daya (1 Reply)
Discussion started by: daya.pandit
1 Replies
7. Solaris
I am new to Sun.
I brought Sun Fire 280R to practice UNIX. What are the requirements for the monitor/CRT? Will it burn out old non-Sun CRTs? Does it need LCD monitor?
Thanks. (3 Replies)
Discussion started by: bramptonmt
3 Replies
8. Solaris
Dear All,
I am a beginner of Sun Solaris. Now I install Sun Solaris 10 on my machine Brand Dell optiplex 745. When i complete installation I found no Network Card
in my computer by using command ifconfig -a, I found only loopback Adapter.
Could anyone help me to solve this problem?
Cheer,
... (5 Replies)
Discussion started by: veasnabee
5 Replies
9. Solaris
Hi all,
Those links might help anyone
Knowledge base
Video tutorials (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies
10. Solaris
Hello,
I have a problem to install a network printer with lpadmin.
(i must be install with lpadmin)
I have a network printer samsung CLP-310.
The network adress is static : 192.168.1.219
For LPD - printing is port number 515
thats what i have done.
ping 192.168.1.219
192.168.1.219 is... (6 Replies)
Discussion started by: tinyterm
6 Replies
LEARN ABOUT OSX
pcap_get_selectable_fd
PCAP_GET_SELECTABLE_FD(3PCAP) PCAP_GET_SELECTABLE_FD(3PCAP)
NAME
pcap_get_selectable_fd - get a file descriptor on which a select() can be done for a live capture
SYNOPSIS
#include <pcap/pcap.h>
int pcap_get_selectable_fd(pcap_t *p);
DESCRIPTION
pcap_get_selectable_fd() returns, on UNIX, a file descriptor number for a file descriptor on which one can do a select() or poll() to wait
for it to be possible to read packets without blocking, if such a descriptor exists, or -1, if no such descriptor exists. Some network
devices opened with pcap_create() and pcap_activate(), or with pcap_open_live(), do not support select() or poll() (for example, regular
network devices on FreeBSD 4.3 and 4.4, and Endace DAG devices), so -1 is returned for those devices.
Note that in:
FreeBSD prior to FreeBSD 4.6;
NetBSD prior to NetBSD 3.0;
OpenBSD prior to OpenBSD 2.4;
Mac OS X prior to Mac OS X 10.7;
select() and poll() do not work correctly on BPF devices; pcap_get_selectable_fd() will return a file descriptor on most of those versions
(the exceptions being FreeBSD 4.3 and 4.4), but a simple select() or poll() will not indicate that the descriptor is readable until a full
buffer's worth of packets is received, even if the read timeout expires before then. To work around this, an application that uses
select() or poll() to wait for packets to arrive must put the pcap_t in non-blocking mode, and must arrange that the select() or poll()
have a timeout less than or equal to the read timeout, and must try to read packets after that timeout expires, regardless of whether
select() or poll() indicated that the file descriptor for the pcap_t is ready to be read or not. (That workaround will not work in FreeBSD
4.3 and later; however, in FreeBSD 4.6 and later, select() and poll() work correctly on BPF devices, so the workaround isn't necessary,
although it does no harm.)
Note also that poll() doesn't work on character special files, including BPF devices, in Mac OS X 10.4 and 10.5, so, while select() can be
used on the descriptor returned by pcap_get_selectable_fd(), poll() cannot be used on it those versions of Mac OS X. Kqueues also don't
work on that descriptor. poll(), but not kqueues, work on that descriptor in Mac OS X releases prior to 10.4; poll() and kqueues work on
that descriptor in Mac OS X 10.6 and later.
pcap_get_selectable_fd() is not available on Windows.
RETURN VALUE
A selectable file descriptor is returned if one exists; otherwise, -1 is returned.
SEE ALSO
pcap(3PCAP), select(2), poll(2)
5 April 2008 PCAP_GET_SELECTABLE_FD(3PCAP)