SocketUDP

PosixLikeIO.SocketUDP
See theSocketUDP companion object
class SocketUDP()

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bindAndOpen(port: Int): SocketUDP
def close(): Unit
override def finalize(): Unit

Called by the garbage collector on the receiver object when there are no more references to the object.

Called by the garbage collector on the receiver object when there are no more references to the object.

The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

Attributes

Note

not specified by SLS as a member of AnyRef

Definition Classes
Object
def isOpened: Boolean
def open(): SocketUDP
def receive(): Future[DatagramPacket]
def send(data: ByteBuffer, address: String, port: Int): Future[Unit]