connection « Socket « Java Thread Q&A

Home
Java Thread Q&A
1.concurrency
2.Development
3.Exception
4.Notify
5.Operation
6.Socket
7.State
8.synchronize
9.Thread Safe
10.ThreadPool
Java Thread Q&A » Socket » connection 

1. Java:Handelling socket with multiple connections?    stackoverflow.com

Hi i am using the following code at the server end for multiple clients to connect..

public class Tcpfileserver extends Thread
{      
    private ServerSocket ...

2. Listening for connections in a separate thread    stackoverflow.com

This is part of a messenger project in java. Because clients use direct connections to chat, I want eavry client to listen on some port, and others to make a socket ...

3. How to make a threadedsocket connection in java?    stackoverflow.com

I am very sorry to ask such a basic question but I am new to threads and socket programming. I am trying to write a multithreaded socket program but it always ...

4. closing a thread if a socket connection is droped    forums.oracle.com

i see, i will use messages in the catch exception. when an exception is thrown , the thread is also closed? i've replaced the empty IOException catch with this and it is behaving ok now, but i don't know if the thread is closed by JVM or by the fact that i'm setting isOpened=false and the while isn't executing no more ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.