MCPcopy Create free account
hub / github.com/DeNA/PacketProxy / connect

Method connect

src/main/java/core/org/xbill/DNS/UDPClient.java:102–108  ·  view source on GitHub ↗
(SocketAddress addr)

Source from the content-addressed store, hash-verified

100}
101
102void
103connect(SocketAddress addr) throws IOException {
104 if (!bound)
105 bind(null);
106 DatagramChannel channel = (DatagramChannel) key.channel();
107 channel.connect(addr);
108}
109
110void
111send(byte [] data) throws IOException {

Callers 1

sendrecvMethod · 0.95

Calls 1

bindMethod · 0.95

Tested by

no test coverage detected