Package: manpages-dev
Version: 3.27-1
Severity: minor
Tags: upstream patch

Subject: /usr/share/man/man2/getpeername.2.gz: please mention that 
getpeername() does not work with udp connections as one could expect
Package: manpages-dev
Version: 3.27-1
File: /usr/share/man/man2/getpeername.2.gz
Severity: minor
Tags: patch upstream

getpeername() will never deliver the address of a udp client on server
side, even if he called connect(). The way to go is recvfrom(). A note
in the manpage would have saved me a lot of time.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-028stab091.2 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages manpages-dev depends on:
ii  manpages                      3.27-1     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]          2.5.7-8    on-line manual pager

-- no debconf information

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-028stab091.2 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages manpages-dev depends on:
ii  manpages                      3.27-1     Manual pages about using a GNU/Lin

manpages-dev recommends no packages.

Versions of packages manpages-dev suggests:
ii  man-db [man-browser]          2.5.7-8    on-line manual pager

-- no debconf information
113a114,119
> 
> If you want to find out the ip address of a connected 
> .BR udp
> .BR client
> on server side you want to use
> .BR recvfrom (2).
117a124
> .BR recvfrom (2)

Reply via email to