Which packets are you capturing exactly ?

If you are using the emulator's -tcpdump <file> option, then you're
capturing the traffic on the emulated ethernet LAN, corresponding to the
ethernet packets sent through the emulated kernel (and received by the
emulator's internal router/firewall).

If you are using Wireshark to capture the real traffic that goes out of your
development machine, then you are capturing the traffic that goes from the
emulator's firewall to your external server(s). The latter is generated by
using the BSD sockets / Winsock interface after decoding the ethernet
packets received from the emulated system.

If the former, the problem is in the Android kernel/system.

If the latter, the problem is probably in the emulator's firewall
implementation.

On Sun, Jul 11, 2010 at 4:45 PM, comet565 <[email protected]> wrote:

> Hi, i am making a small android application which VoIP program based
> in SIP(Session Initiation Protocol) using the android default
> emulator(version : Android SDK 2.2)
> Through this program, i will support the QoS for each service such as
> voice telephony,
> SMS messaging and so on. So, i want to mark the TOS field(8bit) in IP
> packet header to grant priority each service IP packets.
>
>
> As you know, there is a method "setTrafficClass(int value)" in
> android
> UDP socket API. But, after capturing the packets using the wireshark,
> i could found that this API is not effect. In short, the UDP socket
> always sends packets with default IP TOS field, 0x00.
>
>
> Does anybody know why this problem occurs?
> Does android prohibit chaging IP header process on purpose?
> Is android emulator's limitation?
>
>
> Plz, give me some advice about this problem.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to