1. Home
  2. Java
  3. java.nio.channels
  4. Java java.nio.channels SocketChannel
    • Class List
    • Java AsynchronousFileChannel
    • Java AsynchronousServerSocketChannel
    • Java AsynchronousSocketChannel
    • Java Channels
    • Java CompletionHandler tutorial with examples
    • Java DatagramChannel
    • Java FileChannel
    • Java FileLock
    • Java MembershipKey
    • Java NetworkChannel
    • Java ReadableByteChannel copyChannels(ReadableByteChannel in, WritableByteChannel out)
    • Java SeekableByteChannel
    • Java SelectionKey
    • Java Selector
    • Java ServerSocketChannel
    • Java SocketChannel
    • Java WritableByteChannel

Java java.nio.channels SocketChannel

PreviousNext

By API

The following index lists the tutorials for SocketChannel by API.

Methods

  • Java SocketChannel close()
  • Java SocketChannel configureBlocking(boolean block)
  • Java SocketChannel connect(SocketAddress remote)
  • Java SocketChannel finishConnect()
  • Java SocketChannel getLocalAddress()
  • Java SocketChannel isConnectionPending()
  • Java SocketChannel open()
  • Java SocketChannel open(ProtocolFamily family)
  • Java SocketChannel open(SocketAddress remote)
  • Java SocketChannel read(ByteBuffer dst)
  • Java SocketChannel read(ByteBuffer[] dsts)
  • Java SocketChannel register(Selector sel, int ops)
  • Java SocketChannel socket()
  • Java SocketChannel tutorial with examples
  • Java SocketChannel write(ByteBuffer src)
  • Java SocketChannel write(ByteBuffer[] srcs)

By Examples

The following index lists the tutorials for SocketChannel by example titles.

  • Java Channel Returns the IP address of the remote host for a socket channel.
  • Java Channel getRemoteHost(Channel channel)
  • Java SocketChannel interrupt a socket channel
PreviousNext

Related

  • Java ServerSocketChannel accept()
  • Java ServerSocketChannel configureBlocking(boolean block)
  • Java ServerSocketChannel register(Selector sel, int ops)
  • Java java.nio.channels SocketChannel
  • Java SocketChannel interrupt a socket channel
  • Java Channel getRemoteHost(Channel channel)
  • Java Channel Returns the IP address of the remote host for a socket channel.

demo2s.com |  Email:yinpeng263@hotmail.com | Demo Source and Support. All rights reserved.