Click here to Skip to main content
15,899,626 members
Home / Discussions / Java
   

Java

 
AnswerRe: Dear Develepoer Pin
Richard MacCutchan12-Aug-13 1:03
mveRichard MacCutchan12-Aug-13 1:03 
AnswerRe: Dear Develepoer Pin
jschell12-Aug-13 8:20
jschell12-Aug-13 8:20 
QuestionWhat is difference between debug,deploy,build and run in java Pin
Member 102007689-Aug-13 20:16
Member 102007689-Aug-13 20:16 
AnswerRe: What is difference between debug,deploy,build and run in java Pin
Richard MacCutchan9-Aug-13 23:44
mveRichard MacCutchan9-Aug-13 23:44 
QuestionJava Thread in Networking Pin
santhosh kumar bhagavathi m9-Aug-13 1:46
santhosh kumar bhagavathi m9-Aug-13 1:46 
AnswerRe: Java Thread in Networking Pin
Richard MacCutchan9-Aug-13 23:45
mveRichard MacCutchan9-Aug-13 23:45 
GeneralRe: Java Thread in Networking Pin
cdenczek27-Aug-13 8:53
cdenczek27-Aug-13 8:53 
AnswerRe: Java Thread in Networking Pin
jschell10-Aug-13 11:27
jschell10-Aug-13 11:27 
santhosh kumar bhagavathi m wrote:
is there any other way??????


Yes.

The socket sends and receives messages - not data.

Messages a posted to a sychronized queue. The socket receiver packages the data and sends the message. The receiver gets a message, determines the type (file or chat) and then posts it to the appropriate place.

The file transfer itself has the highest impact but the chat has very low bandwidth needs so you set the chat to have a higher priority, such that waiting chat messages are always sent before file messages.

The file would be broken into chunks. perhaps 1meg or 100k.

There are variations on the above. The two socket situation could, with a bit of fuzziness, even said to be said to be a variation of this. In that case each socket is just acting like a queuing device.
Questionandroid app login issue Pin
LawlessBaron8-Aug-13 8:29
LawlessBaron8-Aug-13 8:29 
QuestionRe: android app login issue Pin
Richard MacCutchan8-Aug-13 21:46
mveRichard MacCutchan8-Aug-13 21:46 
AnswerRe: android app login issue Pin
LawlessBaron8-Aug-13 22:15
LawlessBaron8-Aug-13 22:15 
GeneralRe: android app login issue Pin
Richard MacCutchan8-Aug-13 23:09
mveRichard MacCutchan8-Aug-13 23:09 
GeneralRe: android app login issue Pin
LawlessBaron11-Aug-13 2:28
LawlessBaron11-Aug-13 2:28 
GeneralRe: android app login issue Pin
Richard MacCutchan11-Aug-13 2:42
mveRichard MacCutchan11-Aug-13 2:42 
GeneralRe: android app login issue Pin
LawlessBaron11-Aug-13 3:27
LawlessBaron11-Aug-13 3:27 
GeneralRe: android app login issue Pin
Richard MacCutchan11-Aug-13 3:39
mveRichard MacCutchan11-Aug-13 3:39 
GeneralRe: android app login issue Pin
LawlessBaron11-Aug-13 3:47
LawlessBaron11-Aug-13 3:47 
Questionconverting problem from cmyk to rgb image Pin
Shankar nehrumaharajan7-Aug-13 3:21
Shankar nehrumaharajan7-Aug-13 3:21 
Questionhow to draw smooth curve with java? Pin
xiaobai13795-Aug-13 17:32
xiaobai13795-Aug-13 17:32 
SuggestionRe: how to draw smooth curve with java? Pin
Richard MacCutchan5-Aug-13 20:48
mveRichard MacCutchan5-Aug-13 20:48 
Questioni can't pause the song in this code Pin
Member 101909835-Aug-13 8:52
Member 101909835-Aug-13 8:52 
AnswerRe: i can't pause the song in this code Pin
Richard MacCutchan5-Aug-13 20:46
mveRichard MacCutchan5-Aug-13 20:46 
GeneralRe: i can't pause the song in this code Pin
Member 101909836-Aug-13 4:42
Member 101909836-Aug-13 4:42 
GeneralRe: i can't pause the song in this code Pin
Richard MacCutchan6-Aug-13 4:56
mveRichard MacCutchan6-Aug-13 4:56 
QuestionTwo salt Values? Pin
chdboy3-Aug-13 5:14
chdboy3-Aug-13 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.