A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Sockets and Internet Protocols
Question regarding the SocketChannel
Joined: Sep 28, 2005
Nov 07, 2011 05:35:12
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
I agree. Here's the link:
subject: Question regarding the SocketChannel
unable to read data from server using socketchannle (help please)
NIO Channel -Object Transfer
NIO Channels Object Transfer
NIO Socket weirdnes in Solaris 2.10
ServerSocketChannel.accept() seems to create a random port to send data to?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014