Skip to main content

DatagramSocket

Complete API reference for DatagramSocket, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Uncategorized

Component: no


public class DatagramSocket extends DatagramSocket

Constructors

SignatureDescription
DatagramSocket()Executes DatagramSocket and returns after the underlying engine call finishes.
DatagramSocket(DatagramSocketImpl)Creates a new instance of DatagramSocket.
DatagramSocket(SocketAddress)Executes DatagramSocket and returns after the underlying engine call finishes.
DatagramSocket(int)Executes DatagramSocket and returns after the underlying engine call finishes.
DatagramSocket(int, InetAddress)Executes DatagramSocket and returns after the underlying engine call finishes.

Methods

SignatureReturnsDescription
bind(SocketAddress)voidExecutes bind and returns after the underlying engine call finishes.
connect(InetAddress, int)voidPerforms the connect operation using the provided parameters (address, port).
connect(SocketAddress)voidExecutes connect and returns after the underlying engine call finishes.