jQuery in Action, 2nd edition*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Question regarding the SocketChannel" Watch "Question regarding the SocketChannel" New topic
Author

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.


SCJP, SCJD, SCWCD, SCBCD, SCEA
 
wood burning stoves
 
subject: Question regarding the SocketChannel
 
Similar Threads
NIO Socket weirdnes in Solaris 2.10
NIO Channels Object Transfer
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