Changeset 844


Ignore:
Timestamp:
02/05/14 15:42:59 (10 years ago)
Author:
jts21
Message:

Attempt to fix broken pipe exception (have to commit it to test it since the server is running on toro :/)

Location:
trunk/src/org/expeditee/network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/network/FrameShare.java

    r843 r844  
    318318                os.write(fileName);
    319319                os.flush();
    320                 socket.shutdownOutput();
    321320                boolean ret = ImageSaver.recvImage(new File(FrameIO.IMAGES_PATH + imageName), socket);
    322321                socket.close();
  • trunk/src/org/expeditee/network/ImageServer.java

    r843 r844  
    6767                    byte[] fileName = new byte[fileNameLen];
    6868                    is.read(fileName);
    69                     this.socket.shutdownInput();
    7069                    sendImage(new File(FrameIO.IMAGES_PATH + new String(fileName, ImageServer.CHARSET)), socket);
    7170                this.socket.close();
Note: See TracChangeset for help on using the changeset viewer.