Hi Christian, thanks for your interest and for the really good questions.
On 26.03.2018 15:28, Christian Amsüss wrote: > […] > > I've had a look at the abstract API outlined in trammell-taps-interface, > and it seems to be suitable for implementing CoAP in a much more > straightforward way, but I don't know yet whether it can do the > following: > > * Can the API be instructed that a UDP package shall go out on the same > IP and port as a given received package? (CoAP requirement) Yes. The application would have to create a connection with the desired properties, e.g. similar to UDP, specify a certain IP address and port as local endpoint, receive messages on the connection (=UDP packets), and then send on the same connection, thus using the same IP address. > * Can a listening (pre)connection be used to initiate a connection > actively from the listening port? (This is convenient to have because > it allows hosts to advertise their server role in a client capacity > without needing to transmit their own server address explicitly). I think the API allows it. You call Listen() on the Preconnection and you get ConnectionReceived events, but you can still call Initiate() on the same Preconnection. But I'm not sure what happens then... something to think about :) Best, Theresa -- Theresa Enghardt Wissenschaftliche Mitarbeiterin / Research Assistant Phone: +49 30 314 78628 Office: MAR 4.032 FG / Group "Internet Network Architectures" (INET) Technische Universität Berlin Sekr. MAR 4-4, Marchstraße 23, 10587 Berlin
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Taps mailing list [email protected] https://www.ietf.org/mailman/listinfo/taps
