Interface SocketType


public interface SocketType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Connectionless, unreliable datagram passing.
    static final int
    Type unknown or wrong
    static final int
    Reliable connection-based passing of datagrams
    of fixed maximum length (e.g.
    static final int
    Reliable connection-based byte streams (e.g.
  • Field Details

    • INVALID

      static final int INVALID
      Type unknown or wrong
      See Also:
    • STREAM

      static final int STREAM
      Reliable connection-based byte streams (e.g. TCP).
      See Also:
    • DATAGRAM

      static final int DATAGRAM
      Connectionless, unreliable datagram passing.
      (e.g. UDP)
      See Also:
    • SEQPACKET

      static final int SEQPACKET
      Reliable connection-based passing of datagrams
      of fixed maximum length (e.g. SCTP).
      See Also: