File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes Question regarding the SocketChannel 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 "Question regarding the SocketChannel" Watch "Question regarding the SocketChannel" New topic

Question regarding the SocketChannel

Jiafan Zhou
Ranch Hand

Joined: Sep 28, 2005
Posts: 193

Is a client who creates a SocketChannel (nio) able to connect to a server which does *not* create a socket channel? That is, the server uses a standard server socket.
Will this work?

Or should the server also create a socket channel?
I have problems to modify the server socket code, and want to make sure this.

I agree. Here's the link:
subject: Question regarding the SocketChannel
It's not a secret anymore!