Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multicast listening




On 09.01.2008, at 19:17, Hamish Allan wrote:

On Jan 9, 2008 3:29 PM, Alex Tarter <email@hidden> wrote:

OK here is the code I'm using,

I get a bus error when I run your code, but if I pare it down to the
core multicast receive (see below) it works okay.

If I then run "nc -u 239.192.12.0 48640" in another window and type a
line of characters, your code confirms their receipt.

I'm running 10.5.1, and I'm not running Wireshark.

Is it possible that Wireshark is leaving your network interface in a
sorry state after it exits? Have you tried running your code after
rebooting, before running Wireshark?

Hamish

Wireshark uses libpcap.dylib from MacOS X to caputre which opens /dev/bpf devices. So very unlikley this causes the issue of crashes.
I use wireshark almost daily and never experienced any "unclean states" on the network interface. However I dont use multicasts. But if it would be something unclean it would be in the system.







Andreas Fink

Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG

---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331  Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail:  email@hidden
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: email@hidden AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333

Say NO to Power Line Communications: http://www.youtube.com/watch?v=pdcY0Eetvsw





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden

References: 
 >Multicast listening (From: "Alex Tarter" <email@hidden>)
 >Re: Multicast listening (From: Mohacsi Janos <email@hidden>)
 >RE: Multicast listening (From: "Alex Tarter" <email@hidden>)
 >Re: Multicast listening (From: "Hamish Allan" <email@hidden>)
 >RE: Multicast listening (From: "Alex Tarter" <email@hidden>)
 >Re: Multicast listening (From: "Hamish Allan" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.