aspose file tools
The moose likes Sockets and Internet Protocols and the fly likes Question regarding the SocketChannel Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply 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: 188

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
 
IntelliJ Java IDE
 
subject: Question regarding the SocketChannel
 
Threads others viewed
ServerSocketChannel.accept() seems to create a random port to send data to?
NIO Socket weirdnes in Solaris 2.10
NIO Channel -Object Transfer
unable to read data from server using socketchannle (help please)
NIO Channels Object Transfer
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture