fix man pages

master
Felix von Leitner 16 years ago
parent 0698149baf
commit 48589de9a2

@ -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)

@ -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