aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Socket - I/O Activity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Socket - I/O Activity" Watch "Socket - I/O Activity" New topic
Author

Socket - I/O Activity

SAM KUMAR
Greenhorn

Joined: Jan 02, 2002
Posts: 25
Hi,
I am new to socket programming, I would like to know how much I/O activity or resource consumption (CPU etc) will be there if client application is connected to the server all the time, waiting for response and there is no data transmission ...
Socket client = new Socket(server, port);
// ... waiting for input from server
while (true)
{
line = is.readLine();
...
}

Thanks.
SK
SAM KUMAR
Greenhorn

Joined: Jan 02, 2002
Posts: 25
REPOSTING
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Socket - I/O Activity