~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man7/udp.7

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2010-10-30 17:16:44 UTC
  • mfrom: (1.1.43 upstream) (2.2.6 sid)
  • Revision ID: james.westby@ubuntu.com-20101030171644-keybyul2o3qsj4r3
Tags: 3.25-1ubuntu1
* Merge from debian unstable (LP: #668739), remaining changes:
  - prctl.2: add notes about PR_SET_PTRACER, specific to Ubuntu.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.\" of the modification is added to the header.
6
6
.\" $Id: udp.7,v 1.7 2000/01/22 01:55:05 freitag Exp $
7
7
.\"
8
 
.TH UDP  7 2009-09-30 "Linux" "Linux Programmer's Manual"
 
8
.TH UDP  7 2010-06-13 "Linux" "Linux Programmer's Manual"
9
9
.SH NAME
10
10
udp \- User Datagram Protocol for IPv4
11
11
.SH SYNOPSIS
205
205
Gets a pointer to an integer as argument.
206
206
Returns the size of the next pending datagram in the integer in bytes,
207
207
or 0 when no datagram is pending.
 
208
.B Warning:
 
209
Using
 
210
.BR FIONREAD ,
 
211
it is impossible to distinguish the case where no datagram is pending
 
212
from the case where the next pending datagram contains zero bytes of data.
 
213
It is safer to use
 
214
.BR select (2),
 
215
.BR poll (2),
 
216
or
 
217
.BR epoll (7)
 
218
to distinguish these cases.
 
219
.\" See http://www.securiteam.com/unixfocus/5KP0I15IKO.html
 
220
.\" "GNUnet DoS (UDP Socket Unreachable)", 14 May 2006
208
221
.TP
209
222
.BR TIOCOUTQ " (" SIOCOUTQ )
210
223
Returns the number of data bytes in the local send queue.
242
255
.br
243
256
RFC\ 1191 for a description of path MTU discovery.
244
257
.SH COLOPHON
245
 
This page is part of release 3.24 of the Linux
 
258
This page is part of release 3.25 of the Linux
246
259
.I man-pages
247
260
project.
248
261
A description of the project,