Changeset 21344 for lang/cplusplus/llv8call
- Timestamp:
- 10/15/08 09:12:35 (5 years ago)
- Location:
- lang/cplusplus/llv8call/trunk
- Files:
-
- 2 modified
-
lib/org/coderepos/test/tcp.js (modified) (1 diff)
-
t/100_socket/07_ipv6.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/cplusplus/llv8call/trunk/lib/org/coderepos/test/tcp.js
r21332 r21344 46 46 var sock = new Socket(family); 47 47 try { 48 sock.connect([family == Socket.AF_INET ? '127.0.0.1' : ' fe80::1%lo0', port]);48 sock.connect([family == Socket.AF_INET ? '127.0.0.1' : '::1', port]); 49 49 sock.close(); 50 50 return true; -
lang/cplusplus/llv8call/trunk/t/100_socket/07_ipv6.js
r21332 r21344 11 11 like(port.toString(), /^\d+$/, "port is " + port); 12 12 var sock = new Socket(Socket.AF_INET6); 13 sock.connect([' fe80::1%lo0', port]);13 sock.connect(['::1', port]); 14 14 sock.send("12345"); 15 15 is(sock.recv(5), "12345"); … … 18 18 "server" : function (port) { 19 19 var sock = new Socket(Socket.AF_INET6); 20 sock.bind([' fe80::1%lo0', port]);20 sock.bind(['::1', port]); 21 21 sock.listen(5); 22 22 var c;
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)