fix man pages

master
leitner 18 years ago
parent 3004b518ef
commit 8420a7a724

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