Show
Ignore:
Timestamp:
07/10/07 09:06:06 PM (18 months ago)
Author:
octorian
Message:

Switched streams from InputStream/OutputStream to DataInputStream/DataOutputStream to help with strange network I/O buffering problems.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/LogicMail/src/org/logicprobe/LogicMail/util/Connection.java

    r90 r128  
    146146        } 
    147147        socket = (StreamConnection)Connector.open(connectStr, Connector.READ_WRITE, true); 
    148         input = socket.openInputStream(); 
    149         output = socket.openOutputStream(); 
     148        input = socket.openDataInputStream(); 
     149        output = socket.openDataOutputStream(); 
    150150        localAddress = ((SocketConnection)socket).getLocalAddress(); 
    151151    }