Multicasting

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
ajtgarber
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 97
Joined: Wed Jun 10, 2009 8:56 am

Multicasting

Post by ajtgarber »

This is probably going to be a stupid question, but when your making a multicasting application, how do you decide what address to use?
User avatar
short
ES Beta Backer
ES Beta Backer
Posts: 548
Joined: Thu Apr 30, 2009 2:22 am
Current Project: c++, c
Favorite Gaming Platforms: SNES, PS2, SNES, SNES, PC NES
Programming Language of Choice: c, c++
Location: Oregon, US

Re: Multicasting

Post by short »

What
My github repository contains the project I am currently working on,
link: https://github.com/bjadamson
User avatar
Ginto8
ES Beta Backer
ES Beta Backer
Posts: 1064
Joined: Tue Jan 06, 2009 4:12 pm
Programming Language of Choice: C/C++, Java

Re: Multicasting

Post by Ginto8 »

what exactly do you mean by multicasting? it's not a term I'm familiar with, and I'm fairly certain most here aren't.
Quit procrastinating and make something awesome.
Ducky wrote:Give a man some wood, he'll be warm for the night. Put him on fire and he'll be warm for the rest of his life.
User avatar
adikid89
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 94
Joined: Tue Apr 27, 2010 6:59 am
Current Project: small tiny-mini projects
Favorite Gaming Platforms: PC I guess...
Programming Language of Choice: c++

Re: Multicasting

Post by adikid89 »

I think he means broadcasting to an entire network..Don't know much about networking though, so I can't help... sorry
My first game C++/SDL Yoshi Combat! = http://www.youtube.com/watch?v=HQ9mMBEWSZg
==============================================================
Image
User avatar
MrDeathNote
ES Beta Backer
ES Beta Backer
Posts: 594
Joined: Sun Oct 11, 2009 9:57 am
Current Project: cocos2d-x project
Favorite Gaming Platforms: SNES, Sega Megadrive, XBox 360
Programming Language of Choice: C/++
Location: Belfast, Ireland
Contact:

Re: Multicasting

Post by MrDeathNote »

I don't know about other languages, but in c# you use a multicast group IP address.
http://www.youtube.com/user/MrDeathNote1988

Image
Image

"C makes it easy to shoot yourself in the foot. C++ makes it
harder, but when you do, it blows away your whole leg." - Bjarne Stroustrup
ajtgarber
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 97
Joined: Wed Jun 10, 2009 8:56 am

Re: Multicasting

Post by ajtgarber »

So far what I know about it, is that a couple computers join a group, and when one sends a packet, they all get the packet. Its less reliable than TCP. I think (?) its called UDP. I just don't know what to set the address to? Do I just make one up or find it somewhere?
D-e-X
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Tue Dec 28, 2010 6:49 pm

Re: Multicasting

Post by D-e-X »

ajtgarber wrote:So far what I know about it, is that a couple computers join a group, and when one sends a packet, they all get the packet. Its less reliable than TCP. I think (?) its called UDP. I just don't know what to set the address to? Do I just make one up or find it somewhere?
I suggest you hit the webs and the books hard ;)
I remember when I used to be into nostalgia.
ajtgarber
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 97
Joined: Wed Jun 10, 2009 8:56 am

Re: Multicasting

Post by ajtgarber »

Yeah... probably going to have to hit the glowing tome again...
User avatar
GroundUpEngine
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 835
Joined: Sun Nov 08, 2009 2:01 pm
Current Project: mixture
Favorite Gaming Platforms: PC
Programming Language of Choice: C++
Location: UK

Re: Multicasting

Post by GroundUpEngine »

adikid89 wrote:I think he means broadcasting to an entire network..Don't know much about networking though, so I can't help... sorry
Multicast means send to group of hosts on network, and broadcast means send to all hosts on network. ;)
Post Reply