UdpTransport.ConnectionInfo Class¶
A UdpTransport::ConnectionInfo extends Transport::ConnectionInfo to hold the host and port info for the UDP connection.
[C++]: | #include <ndn-cpp/transport/udp-transport.hpp> Namespace:
ndn |
---|---|
[Python]: | Module: pyndn.transport |
[Java]: | Package: net.named_data.jndn.transport |
UdpTransport.ConnectionInfo Constructor¶
Create a UdpTransport.ConnectionInfo with the given host and port.
[C++]: | ConnectionInfo(
const char *host
[, unsigned short port]
);
|
---|---|
[Python]: | def __init__(self,
host # str
[, port # int])
|
[Java]: | public ConnectionInfo(
String host
[, int port]
)
|
Parameters: |
|
UdpTransport Class¶
[C++]: | #include <ndn-cpp/transport/udp-transport.hpp> Namespace:
ndn |
---|---|
[Python]: | Module: pyndn.transport |
[Java]: | Package: net.named_data.jndn.transport |
UdpTransport Constructor¶
Create a UdpTransport which extends the Transport interface to implement communication over UDP.
[C++]: | UdpTransport();
|
---|---|
[Python]: | def __init__(self)
|
[Java]: | public UdpTransport()
|