You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/09/18 04:55:27 UTC
svn commit: rev 46293 - incubator/directory/seda/trunk/src/test/org/apache/seda
Author: akarasulu
Date: Fri Sep 17 19:55:26 2004
New Revision: 46293
Modified:
incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
Log:
oops need to correct this
Modified: incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java
==============================================================================
--- incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java (original)
+++ incubator/directory/seda/trunk/src/test/org/apache/seda/DefaultFrontendFactoryTest.java Fri Sep 17 19:55:26 2004
@@ -101,12 +101,12 @@
{
ListenerConfig config = null;
config = new TCPListenerConfig( new SocketListenerAddress(
- InetAddress.getByName( "millikan" ) ), new InetServiceEntry( "echo", 7 ) );
+ InetAddress.getLocalHost() ), new InetServiceEntry( "echo", 7 ) );
fe.getListenerManager().bind( config );
fe.register( new EchoProtocolProvider() );
EchoTCPClient client = new EchoTCPClient();
- client.connect( InetAddress.getByName( "millikan" ), 7 );
+ client.connect( InetAddress.getLocalHost(), 7 );
byte[] toSend = "Hello world!".getBytes();
byte[] recieved = new byte[toSend.length];
client.getOutputStream().write( toSend );