|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
send/receive urgent tcp-dataHi
I have written a tiny lwip-based server-ap that sends and receives tcp packages. When receiving data - how can I find out if this are normal or urgent data? (or OOB=out of band data, as MS calls them). Similarely: How can I send a tcp-package with the urg-flag set? Thanks and best regards Robert _______________________________________________ lwip-users mailing list lwip-users@... http://lists.nongnu.org/mailman/listinfo/lwip-users |
|
|
Re: send/receive urgent tcp-dataBob Brusa wrote:
> Hi > I have written a tiny lwip-based server-ap that sends and receives tcp > packages. > > When receiving data - how can I find out if this are normal or urgent > data? (or OOB=out of band data, as MS calls them). > Similarely: How can I send a tcp-package with the urg-flag set? > Thanks and best regards Robert Unfortunately, lwIP currently does not process the urgent flag. The flag is present in the TCP header, but as there is no way to access the header in your recv callback, there's no way to get the TCP flags from that header. Tx side is similar: lwIP creates the TCP header itself (cannot be directly influenced by the application) and there's currently no way to create a segment with the urgent flag. Simon _______________________________________________ lwip-users mailing list lwip-users@... http://lists.nongnu.org/mailman/listinfo/lwip-users |
|
|
Re: send/receive urgent tcp-dataOn Fri, 2009-10-30 at 17:52 +0100, Bob Brusa wrote:
> Hi > I have written a tiny lwip-based server-ap that sends and receives tcp > packages. > > When receiving data - how can I find out if this are normal or urgent > data? (or OOB=out of band data, as MS calls them). > Similarely: How can I send a tcp-package with the urg-flag set? > Thanks and best regards Robert lwIP doesn't support urgent TCP data as far as I remember. Kieran _______________________________________________ lwip-users mailing list lwip-users@... http://lists.nongnu.org/mailman/listinfo/lwip-users |
|
|
Re: send/receive urgent tcp-dataAm 30.10.2009, 18:16 Uhr, schrieb goldsimon@... <goldsimon@...>:
> Bob Brusa wrote: >> Hi >> I have written a tiny lwip-based server-ap that sends and receives tcp >> packages. >> >> When receiving data - how can I find out if this are normal or urgent >> data? (or OOB=out of band data, as MS calls them). >> Similarely: How can I send a tcp-package with the urg-flag set? >> Thanks and best regards Robert > Unfortunately, lwIP currently does not process the urgent flag. The flag > is present in the TCP header, but as there is no way to access the > header in your recv callback, there's no way to get the TCP flags from > that header. > > Tx side is similar: lwIP creates the TCP header itself (cannot be > directly influenced by the application) and there's currently no way to > create a segment with the urgent flag. > > Simon > > You confirm my "suspicion". I just was not sure, if I missed something. Thanks for the info and have a nice weekend. Robert _______________________________________________ lwip-users mailing list lwip-users@... http://lists.nongnu.org/mailman/listinfo/lwip-users |
| Free embeddable forum powered by Nabble | Forum Help |