object Socket
- Source
- Socket.scala
- Alphabetic
- By Inheritance
- Socket
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[F[_]](address: InetSocketAddress = new InetSocketAddress(0), reuseAddress: Boolean = false, sendBufferSize: Option[Int] = None, receiveBufferSize: Option[Int] = None, allowBroadcast: Boolean = true, protocolFamily: Option[ProtocolFamily] = None, multicastInterface: Option[NetworkInterface] = None, multicastTTL: Option[Int] = None, multicastLoopback: Boolean = true)(implicit AG: AsynchronousSocketGroup, F: Concurrent[F], CS: ContextShift[F]): Resource[F, Socket[F]]
Provides a UDP Socket that, when run, will bind to the specified address.
Provides a UDP Socket that, when run, will bind to the specified address.
- address
address to bind to; defaults to an ephemeral port on all interfaces
- reuseAddress
whether address has to be reused (see
java.net.StandardSocketOptions.SO_REUSEADDR
)- sendBufferSize
size of send buffer (see
java.net.StandardSocketOptions.SO_SNDBUF
)- receiveBufferSize
size of receive buffer (see
java.net.StandardSocketOptions.SO_RCVBUF
)- allowBroadcast
whether broadcast messages are allowed to be sent; defaults to true
- protocolFamily
protocol family to use when opening the supporting
DatagramChannel
- multicastInterface
network interface for sending multicast packets
- multicastTTL
time to live of sent multicast packets
- multicastLoopback
whether sent multicast packets should be looped back to this host
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )