wood burning stoves 2.0*
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 192

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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Question regarding the SocketChannel
Similar Threads
NIO Socket weirdnes in Solaris 2.10
ServerSocketChannel.accept() seems to create a random port to send data to?
unable to read data from server using socketchannle (help please)
NIO Channel -Object Transfer
NIO Channels Object Transfer