Different multicast api, different result ?

Different multicast api, different result ?

Post by Skybu » Sun, 15 Jul 2001 08:39:10



Winsock has two ways of doing multicast:

The berkley socket style... and the WSA style.

The document at this link describes the two api's

http://www.ipmulticast.com/community/whitepapers/ipmcapps.html

I tried the berkley socket style with winsock ( UDP Multicast Test )

As some might have seen... I did NOT work that very well :)

Now I am wondering:

Is this because the network architecture does not support it ?

Or could the WSA stuff make a difference ?
--
Skybuck presents free software for windows 95 and up:
UDP Speed Test and UDP Multicast Test
http://www.mycgiserver.com/~skybuck

 
 
 

Different multicast api, different result ?

Post by Phil Frisbie, Jr » Wed, 18 Jul 2001 02:16:59



> Winsock has two ways of doing multicast:

> The berkley socket style... and the WSA style.

> The document at this link describes the two api's

> http://www.ipmulticast.com/community/whitepapers/ipmcapps.html

> I tried the berkley socket style with winsock ( UDP Multicast Test )

> As some might have seen... I did NOT work that very well :)

> Now I am wondering:

> Is this because the network architecture does not support it ?

It could be. Have you checked your network to make sure it is multicast enabled?

Quote:> Or could the WSA stuff make a difference ?

If you are using the Berkeley sockets correctly, it will make no difference.

Phil Frisbie, Jr.
Lead Developer, Hawk Software
http://www.hawksoft.com

 
 
 

Different multicast api, different result ?

Post by Alun Jon » Wed, 18 Jul 2001 03:34:36




Quote:> Winsock has two ways of doing multicast:

> The berkley socket style... and the WSA style.

> The document at this link describes the two api's

> http://www.ipmulticast.com/community/whitepapers/ipmcapps.html

> I tried the berkley socket style with winsock ( UDP Multicast Test )

> As some might have seen... I did NOT work that very well :)

> Now I am wondering:

> Is this because the network architecture does not support it ?

> Or could the WSA stuff make a difference ?

I've not had any trouble with my own multicast tests using the BSD style of
calls.  Your problem is almost certainly to do with the network provider.  
Check with them to find out whether they route multicast packets or not.  
Ask them which version of IGMP their routers are set up to support.  If they
don't know, then they're also not able to answer correctly that they route
multicast packets.  [Some ISPs have been known to say "yes" just to get the
customer off the phone, and assuming that the customer is asking about
normal IP traffic]

Set up your own network, so that you can do some network monitoring to see
the packets on their way around - your ISP will almost certainly _not_ let
you monitor their network.  Watch your packets making their way around your
network, and you will assure yourself that the multicast code works.

Alun.
~~~~

[Note that answers to questions in newsgroups are not generally
invitations to contact me personally for help in the future.]
--
Texas Imperial Software   | Try WFTPD, the Windows FTP Server. Find us at

Cedar Park TX 78613-1419  | VISA/MC accepted.  NT-based sites, be sure to
Fax/Voice +1(512)378-3246 | read details of WFTPD Pro for NT.

 
 
 

1. Same program, different machine, different results?

Also, this note from MSDN documentation may
be relevant:

"The Microsoft run-time library sets the default internal
precision of the math coprocessor (or emulator) to 64 bits.
This default applies only to the internal precision at which
all intermediate calculations are performed; it does not
apply to the size of arguments, return values, or variables.
You can override this default and set the chip (or emulator)
back to 80-bit precision by linking your program with
LIB/FP10.OBJ."

The two cases may be working with different internal
precision.

2. CFP for SCCC'97

3. Can I programmatically print different pages of a doc with different settings?

4. Security holes in ppp-2.2

5. Draw line with style different that solid and width different that 0

6. Object Technology 97, 14-16 April 1997, Oxford, England

7. Outlook shows different behaviour on different OS?

8. Dead head?

9. Different disconnect error in different threads, plus short TCP timeouts

10. MIDL: different generations in different directories

11. Different calling card causes different response from LineTranslateAddress-is that a bug?

12. Different Heights for a Window on different machines

13. Different icons for different program versions?