checking for client sockets
From: JTMOBAP (mo_mail_jeremiah_at_yahoo.com)
Date: 01/27/05
- Next message: Casey Hawthorne: "Re: NIO or IO?"
- Previous message: klynn47_at_comcast.net: "Re: Date and Time conversion"
- Next in thread: Matt Humphrey: "Re: checking for client sockets"
- Reply: Matt Humphrey: "Re: checking for client sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 Jan 2005 13:34:08 -0500
I know you can check for existing server sockets connected at a port by
doing a simple loop and
ServerSocket sock = new ServerSocket(i);
and checking to see if the connection had failed. Can you do something
like that with client sockets? For example, can you check to see if your
browser has a client socket set up at port 80??
- Next message: Casey Hawthorne: "Re: NIO or IO?"
- Previous message: klynn47_at_comcast.net: "Re: Date and Time conversion"
- Next in thread: Matt Humphrey: "Re: checking for client sockets"
- Reply: Matt Humphrey: "Re: checking for client sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|