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

Method send

src/main/java/core/org/xbill/DNS/UDPClient.java:110–116  ·  view source on GitHub ↗
(byte [] data)

Source from the content-addressed store, hash-verified

108}
109
110void
111send(byte [] data) throws IOException {
112 DatagramChannel channel = (DatagramChannel) key.channel();
113 verboseLog("UDP write", channel.socket().getLocalSocketAddress(),
114 channel.socket().getRemoteSocketAddress(), data);
115 channel.write(ByteBuffer.wrap(data));
116}
117
118byte []
119recv(int max) throws IOException {

Callers 1

sendrecvMethod · 0.95

Calls 2

verboseLogMethod · 0.80
writeMethod · 0.65

Tested by

no test coverage detected