immer noch falsch

master
leitner 18 years ago
parent 8420a7a724
commit 0cda5dacc8

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

@ -32,7 +32,7 @@ appropriately, without creating a new socket.
\fIs\fR = socket_tcp6(); \fIs\fR = socket_tcp6();
socket_bind6(s,ip,port,scope_id); socket_bind6(s,ip,port,scope_id);
socket_listen(s,16); socket_listen(s,16);
socket_accept6(s,ip,port,scope_id); socket_accept6(s,ip,&port,&scope_id);
.SH "SEE ALSO" .SH "SEE ALSO"
socket_accept4(3), socket_connected(3) socket_accept4(3), socket_connected(3)

Loading…
Cancel
Save