Page 3 of 3 FirstFirst 123
Results 41 to 42 of 42
  1. #41
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    I added some debug code to your code and saw that the read() method reads less than you want sometimes. Your code doesn't test how much was read which is returned by the read() method. Use the available() method to test what can be read.

  2. #42
    0xHexaDecimal is offline Member
    Join Date
    May 2010
    Rep Power


    man, thank you for the help but it doesnt matter anymore..
    i won't continue with that project(it is normal i never finished projects)..
    i will think about another project..

Page 3 of 3 FirstFirst 123

Similar Threads

  1. send file via client - server model
    By spasavvas in forum Networking
    Replies: 15
    Last Post: 08-13-2010, 12:45 PM
  2. how to send mp3 file from server to client
    By Jigga008 in forum Networking
    Replies: 0
    Last Post: 12-01-2009, 01:02 PM
  3. Server socket - send image to client
    By Hinty in forum Networking
    Replies: 2
    Last Post: 03-14-2009, 08:39 AM
  4. send/read int in a client/server app
    By dim_ath in forum New To Java
    Replies: 2
    Last Post: 01-03-2008, 02:03 PM
  5. how to send .jar files client to server
    By gobinathm in forum Networking
    Replies: 1
    Last Post: 12-25-2007, 05:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts