convert test programs from socket_tcp[46] to socket_tcp[46]b

This commit is contained in:
leitner
2006-07-15 23:17:46 +00:00
parent 83c1186870
commit f7e6432a2b
5 changed files with 7 additions and 7 deletions

View File

@@ -66,11 +66,11 @@ usage:
goto usage;
}
if (byte_equal(ip,12,V4mappedprefix)) {
s=socket_tcp4();
s=socket_tcp4b();
if (s==-1) panic("client: error: socket() failed");
if (socket_connect4(s,ip+12,port)==-1) panic("client: error: connect() failed");
} else {
s=socket_tcp6();
s=socket_tcp6b();
if (s==-1) panic("client: error: socket() failed");
if (socket_connect6(s,ip,port,scope_id)==-1) panic("client: error: connect() failed");
}