~ubuntu-branches/ubuntu/precise/gnutls28/precise

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_record_recv_seq.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-09-20 19:37:06 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20110920193706-a9phjijvddzg3nkl
Tags: 3.0.3-1
* New upstream version. (Includes a fix for #640639)
* Bump shlibs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_record_recv_seq" 3 "3.0.1" "gnutls" "gnutls"
 
2
.TH "gnutls_record_recv_seq" 3 "3.0.2" "gnutls" "gnutls"
3
3
.SH NAME
4
4
gnutls_record_recv_seq \- API function
5
5
.SH SYNOPSIS
19
19
This function is the same as \fBgnutls_record_recv()\fP, except that
20
20
it returns in addition to data, the sequence number of the data.
21
21
This is useful in DTLS where record packets might be received
22
 
out\-of\-order.
23
 
In DTLS the least significant 48\-bits are a unique sequence
24
 
number, per handshake. If your application is using TLS re\-handshakes
25
 
then the full 64\-bits should be used as a unique sequence.
 
22
out\-of\-order. The returned 8\-byte sequence number should be
 
23
treated as a unique message identification.
26
24
.SH "RETURNS"
27
 
the number of bytes received and zero on EOF.  A negative
 
25
The number of bytes received and zero on EOF.  A negative
28
26
error code is returned in case of an error.  The number of bytes
29
27
received might be less than \fIdata_size\fP.
30
28
.SH "SINCE"