Browse Source

fix man pages

master
Felix von Leitner 15 years ago
parent
commit
48589de9a2
  1. 3
      socket/socket_accept4.3
  2. 8
      socket/socket_accept6.3

3
socket/socket_accept4.3

@ -27,7 +27,8 @@ appropriately, without creating a new socket.
\fIs\fR = socket_tcp4();
socket_bind4(s,ip,p);
socket_connect4(s,ip,p);
socket_listen(s,16);
socket_accept4(s,ip,p);
.SH "SEE ALSO"
socket_accept6(3), socket_connected(3)

8
socket/socket_accept6.3

@ -26,11 +26,13 @@ appropriately, without creating a new socket.
int \fIs\fR;
char \fIip\fR[16];
uint16 \fIp\fR;
uint16 \fIport\fR;
uint32 \fIscope_id\fR;
\fIs\fR = socket_tcp6();
socket_bind6(s,ip,p);
socket_connect6(s,ip,p);
socket_bind6(s,ip,port,scope_id);
socket_listen(s,16);
socket_accept6(s,ip,port,scope_id);
.SH "SEE ALSO"
socket_accept4(3), socket_connected(3)

Loading…
Cancel
Save