Search:

Type: Posts; User: piulitza

Search: Search took 0.13 seconds.

  1. Replies
    13
    Views
    3,246

    Re: I am trying to make a messenger program!

    Hah ...finally i managed make it work ....i should have not changed the filesize variable to the size of the file....because it makes that bytearray length and current to have same value...so that is...
  2. Replies
    13
    Views
    3,246

    Re: I am trying to make a messenger program!

    Well , seems there is something wrong with Threads that send/receive the file.
    I made some classes separated from the messenger project, and i discovered that they actually have a problem (not the...
  3. Replies
    13
    Views
    3,246

    Re: I am trying to make a messenger program!

    Yeah, that works properly! The size of the file is sent to the main serversocket of my messenger, inside the String containing the word FILE. I have "cut " the String and got the size from that...
  4. Replies
    13
    Views
    3,246

    Re: I am trying to make a messenger program!

    Yeah, you are right. I think it cannot send a .bmp file properly, or maybe it cannot crate a bytearray that large, as the bmp file dimension. I tried to send a .txt file which is smaler and it...
  5. Replies
    13
    Views
    3,246

    Re: I am trying to make a messenger program!

    So far, i manged to make it work fine with sending text message. Now i want to make my messenger to send a file from one user to the other. But i do not manage to make 2 simple sockets to send one...
  6. Replies
    13
    Views
    3,246

    Re: I am trying to make a messenger program!

    basically on each computer should run 2 Threads:
    one of them sends the message having the role of server and the other one receives the message having the role of client!
  7. Replies
    13
    Views
    3,246

    I am trying to make a messenger program!

    I got to do a kind of Messenger in Java. Well .. it will not have to do something with a server or making accounts. Will simply be a program which will be used to communicate between 2 computers into...
Results 1 to 7 of 7