Sponsored Content
Full Discussion: Want to learn unix
Top Forums UNIX for Dummies Questions & Answers Want to learn unix Post 302275623 by lagagnon on Sunday 11th of January 2009 03:40:29 PM
Old 01-11-2009
Or install FreeBSD or OpenBSD....
 

9 More Discussions You Might Find Interesting

1. Programming

What to learn in Unix

Hi I've landed an entry level job in a s/w company.I've not yet started working.But they told me it would be good if i know unix very well.I don't have any idea abt unix.and now i realise it is very vast.It would be nice if somebody can tell me what i should be learning in unix.I don't think i'll... (5 Replies)
Discussion started by: liiza
5 Replies

2. OS X (Apple)

Want to learn Unix on PB

I've got a 15" PB running Panther and I truly want to delve into the Unix base. I want to learn what is going on under my system and I want to learn how to be able to work in the Unix environment. I've had some experience with Redhat and Mandrake Linux, so I'm not afraid of the shell prompt. I'd... (2 Replies)
Discussion started by: MortonM33
2 Replies

3. SCO

want to Learn Unix

:confused: Hello everybody, i am totally new to unix, i want to learn unix. i have a server with pIII, 256 mb RAM, two SCSI disk w/o RAID controller.and one IDE CD-ROM Drive. i heard SCO installs on intel platform. what steps should i take for installing SCO on this machine? can anybody help me... (1 Reply)
Discussion started by: tataiermail
1 Replies

4. UNIX for Dummies Questions & Answers

want to learn unix

Hey guys, I would like to learn unix but first i need to start to load unix OS into my computer but i dont know where to start or get the CD to load...help appreciated...thanks (2 Replies)
Discussion started by: rxsonny
2 Replies

5. UNIX for Dummies Questions & Answers

Where 2 learn unix ??????

HI . my friends am very ewager to learn unix and its operations can any experts can say wher can i easily learn unix through net and give me some links to learn unix through also tutorials.plz help me am very interested also i want ot learn AIX so only am asking this help my... (1 Reply)
Discussion started by: harsath24330
1 Replies

6. UNIX for Dummies Questions & Answers

How to learn UNIX?

Hey everybody, I am a 25 year old web programmer in Malaysia. I am not hapy with my line of work and I want to do something more. I know asp.net,asp,php and jsp.But they dont really land me in a good promising job wich I realy love. I am more interested in Oracle DBMS. now to be a DBA in Oracle... (7 Replies)
Discussion started by: shounak
7 Replies

7. UNIX Desktop Questions & Answers

Best way to learn Unix....

Hello- I talked to a friend the other day....he said learning Linux is a boon to my Windows Server Support career. I know linux comes from Unix so I am wondering if I should start by learning Unix. I have a MAC with OSX on it that I can use. Will this work for learning line command? My goal is... (1 Reply)
Discussion started by: digitalayon
1 Replies

8. UNIX for Dummies Questions & Answers

Best way to learn UNIX

Hi, I am the ultimate noob when it comes to UNIX. Apart from a few basic thing like ls -l and mkdir (and that really is about as good as it gets) I know absolutely nothing about UNIX and I want to learn it and get better! I'm sure like with most things, just getting stuck in and trying... (3 Replies)
Discussion started by: thebdj
3 Replies

9. Fedora

How to learn UNIX

First question is how do you learn UNIX on a home lab. I understand that HP-UX isn't free and neither is SCO Unix and they don't run on x86 based systems anyways. The choices I believe are going to be OpenSolaris and FreeBSD. My question is UNIX commands the same across the board so if I learn... (11 Replies)
Discussion started by: michael78
11 Replies
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)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy