Results 1 to 10 of 10

Thread: Socket Java

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User
    Join Date: Dec:2012
    Location: Bulgaria
    Posts: 6

    Socket Java

    ,
    : Socket-.
    Socket Server,
    / , 4 ,
    4(chunk- ) chunk-
    Server-,
    chunk-
    chunk merge- .
    , -

    chunk-, ..
    Server-, q
    Socket a ,
    Server.

    .

    .
    Attached Files

  2. #2

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    , . ServerSocket.accept(). ServerSocket.accept(). .

  3. #3
    Registered User
    Join Date: Jul:2012
    Location: Sofiq
    Posts: 3
    , ,
    , .
    Queue, 3 new Socket(host, port); Queue Server- Socket, Client Socket- , .. ServerSocket.accept(); 3 , . 3 ?


  4. #4

    Join Date: Sep:2005
    Location: Sofia
    Posts: 18,517
    . ServerSocket. , accept() , , .
    ServerSocket ss = ...
    for (1 to 4) {
    Socket s = ss.accept()
    new ReadSocketThread(s).start()
    }

  5. #5
    Registered User
    Join Date: Dec:2012
    Location: Bulgaria
    Posts: 6
    Mersi mnogo za pomoshta.
    Lek den.

  6. #6
    Registered User
    Join Date: Jul:2005
    Location: Sofiq
    Posts: 2,798
    Java, ( ) . accept- handle accept. (select) handle-. (read) .

    blocking , . - blocking. blocking accept read , . non blocking accept read . , 100% sleep 5-10 .

    PHP,

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |