Skip to Content.
Sympa Menu

ndt-dev - [ndt-dev] [ndt] r1163 committed - Added support for multiple ports (Applet)

Subject: NDT-DEV email list created

List archive

[ndt-dev] [ndt] r1163 committed - Added support for multiple ports (Applet)


Chronological Thread 
  • From:
  • To:
  • Subject: [ndt-dev] [ndt] r1163 committed - Added support for multiple ports (Applet)
  • Date: Thu, 13 Nov 2014 14:17:05 +0000

Revision: 1163
Author:

Date: Thu Nov 13 14:16:18 2014 UTC
Log: Added support for multiple ports (Applet)
https://code.google.com/p/ndt/source/detail?r=1163

Modified:
/branches/MultiplePorts/Applet/src/edu/internet2/ndt/Tcpbw100.java

=======================================
--- /branches/MultiplePorts/Applet/src/edu/internet2/ndt/Tcpbw100.java Thu Nov 6 12:36:08 2014 UTC
+++ /branches/MultiplePorts/Applet/src/edu/internet2/ndt/Tcpbw100.java Thu Nov 13 14:16:18 2014 UTC
@@ -1823,7 +1823,7 @@

for (int i = 0; i < iThreadsnum; ++i) {
try {
- outSockets.add(new
Socket(hostAddress, iC2sport));
+ outSockets.add(new
Socket(hostAddress, iC2sport + i));
} catch (UnknownHostException e) {
System.err.println("Don't know about host:
" + sHostName);
_sErrMsg =
_resBundDisplayMsgs.getString("unknownServer")
@@ -2112,7 +2112,7 @@

for (int i = 0; i < iThreadsnum; ++i) {
try {
- Socket socket = new
Socket(hostAddress, iS2cport);
+ Socket socket = new
Socket(hostAddress, iS2cport + i);
socket.setSoTimeout(iTestDuration +
5000);

inSockets.add(socket);


  • [ndt-dev] [ndt] r1163 committed - Added support for multiple ports (Applet), ndt, 11/13/2014

Archive powered by MHonArc 2.6.16.

Top of Page