Page 3 of 3 FirstFirst 123
Results 41 to 42 of 42
  1. #41
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,390
    Rep Power
    25

    Default

    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
    Posts
    27
    Rep Power
    0

    Default

    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, 11:45 AM
  2. how to send mp3 file from server to client
    By Jigga008 in forum Networking
    Replies: 0
    Last Post: 12-01-2009, 12:02 PM
  3. Server socket - send image to client
    By Hinty in forum Networking
    Replies: 2
    Last Post: 03-14-2009, 07: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, 01:03 PM
  5. how to send .jar files client to server
    By gobinathm in forum Networking
    Replies: 1
    Last Post: 12-25-2007, 04: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
  •