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
| Signature | Description |
|---|---|
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
| Signature | Returns | Description |
|---|---|---|
bind(SocketAddress) | void | Executes bind and returns after the underlying engine call finishes. |
connect(InetAddress, int) | void | Performs the connect operation using the provided parameters (address, port). |
connect(SocketAddress) | void | Executes connect and returns after the underlying engine call finishes. |