Click here to Skip to main content
15,922,584 members
Home / Discussions / Java
   

Java

 
QuestionHow to develop server with threads and store in txt file Pin
Member 834295426-Oct-11 4:51
Member 834295426-Oct-11 4:51 
AnswerRe: How to develop server with threads and store in txt file Pin
Richard MacCutchan26-Oct-11 5:06
mveRichard MacCutchan26-Oct-11 5:06 
AnswerRe: How to develop server with threads and store in txt file Pin
jschell26-Oct-11 11:08
jschell26-Oct-11 11:08 
AnswerRe: How to develop server with threads and store in txt file Pin
TorstenH.27-Oct-11 21:44
TorstenH.27-Oct-11 21:44 
QuestionJava NIO connect, Socket.connect - how to detect bad ip address ? Pin
ptomask22-Oct-11 22:57
ptomask22-Oct-11 22:57 
AnswerRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
Richard MacCutchan23-Oct-11 2:15
mveRichard MacCutchan23-Oct-11 2:15 
GeneralRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
ptomask23-Oct-11 2:41
ptomask23-Oct-11 2:41 
GeneralRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
Richard MacCutchan23-Oct-11 2:49
mveRichard MacCutchan23-Oct-11 2:49 
ptomask wrote:
but if there would be an exception, there will be no messages written.

Since you are ignoring all exceptions you cannot be sure of this.

As to why you are getting the results you see, I cannot answer that, I guess you need to look deeper into what is happening at every stage of your code. If I have time later (no promises) I may try a test of this myself.
Unrequited desire is character building. OriginalGriff


GeneralRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
ptomask23-Oct-11 11:18
ptomask23-Oct-11 11:18 
AnswerRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
Luc Pattyn23-Oct-11 11:54
sitebuilderLuc Pattyn23-Oct-11 11:54 
GeneralRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
Richard MacCutchan23-Oct-11 22:25
mveRichard MacCutchan23-Oct-11 22:25 
GeneralRe: Java NIO connect, Socket.connect - how to detect bad ip address ? Pin
ptomask23-Oct-11 22:49
ptomask23-Oct-11 22:49 
Questionhi, Andrroid app. Pin
gif202020-Oct-11 1:33
gif202020-Oct-11 1:33 
AnswerRe: hi, Andrroid app. Pin
Nagy Vilmos20-Oct-11 1:50
professionalNagy Vilmos20-Oct-11 1:50 
AnswerRe: hi, Andrroid app. Pin
jschell20-Oct-11 8:35
jschell20-Oct-11 8:35 
Questionjava-corba COMM_FAILURE Pin
coco_2819-Oct-11 21:41
coco_2819-Oct-11 21:41 
QuestionGetting last word of a string Pin
Tor Danielsen17-Oct-11 23:11
Tor Danielsen17-Oct-11 23:11 
AnswerRe: Getting last word of a string Pin
Richard MacCutchan17-Oct-11 23:21
mveRichard MacCutchan17-Oct-11 23:21 
AnswerRe: Getting last word of a string Pin
davidshenba17-Oct-11 23:31
davidshenba17-Oct-11 23:31 
AnswerRe: Getting last word of a string Pin
David Skelly18-Oct-11 3:28
David Skelly18-Oct-11 3:28 
AnswerRe: Getting last word of a string Pin
Member 835399113-Nov-11 1:45
Member 835399113-Nov-11 1:45 
QuestionPiccolo with Java Drawing & Positioning Pin
massaslayer14-Oct-11 23:36
massaslayer14-Oct-11 23:36 
AnswerRe: Piccolo with Java Drawing & Positioning Pin
David Skelly17-Oct-11 22:18
David Skelly17-Oct-11 22:18 
GeneralRe: Piccolo with Java Drawing & Positioning Pin
massaslayer17-Oct-11 22:23
massaslayer17-Oct-11 22:23 
Questionplease tell me what this all says Pin
dara325113-Oct-11 17:36
dara325113-Oct-11 17:36 

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.