Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to make use of the UDP in C++?

Status
Not open for further replies.

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
anybody knows how to make use of the UDP(user datagram Protocol) in C++ language..
we are trying to a create a softwafe on a public address system using C++
or aany easier language for impalementaion of the said system..
thank you in advance..
...
someoneishelpingmenow..thanks to all
 

mobile-it

Advanced Member level 1
Joined
Apr 24, 2004
Messages
467
Helped
22
Reputation
44
Reaction score
8
Trophy points
1,298
Activity points
3,344
audio streaming udp c++

Try downloading Cygwin

https://www.cygwin.com

I have experimeted with that and UDP programming It was not a difficult task.

Or try reading the following:
**broken link removed**
 

    leoren_tm

    Points: 2
    Helpful Answer Positive Rating

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
servidor udp audio broadcast

ive read the second link...thx for it...its a time on a server client...
im particularly interested on brodcasting an audio signal in real time,
therefore TCP would not be good for it..
therefore i go to UDP for realtime transmission...


you said it is easy??realy? i have problem in doing it...
can i ask for any hints??
or a software that is design for it??
because after i implemting it in PC il be doing it on microcontrollers...
thank ahead..
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
cygvin udp audio

thanks for the suggeston..
i think i have not enough time to consider any..
i have research on UDP alredy..
i will focus on it..
pls need all the help...thank in advance
 

cfant

Full Member level 3
Joined
Apr 4, 2001
Messages
188
Helped
25
Reputation
50
Reaction score
6
Trophy points
1,298
Location
California, USA
Activity points
1,151
audio brodcasting visual basic

What are you trying to do? Write an application in C++ which is going to use UDP as network communication, or a UDP networking stack?
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: UDP programing on c++..

the first choice..
a C++ or an easier implementation for audio brodcasting.(visual basic)
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: UDP programing on c++..

mobile-it said:
Try downloading Cygwin

h**p://www.cygwin.com

I have experimeted with that and UDP programming It was not a difficult task.

Or try reading the following:
h**p://www.codeproject.com/internet/udptime.asp

hi.. you give me a reply on the topic about UDP, thank you very much...
im having problem on my thesis..
its about audio broacasting..
ill be using UDP because it would be on real time..
can you help me??
i would gladly give all my points if my problem be solve...
thank you in advance
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: UDP programing on c++..

uhm...i cant open the link youve given...
can give me a brief idea on it??
and please post the link again...thax in advance

Added after 7 minutes:

i didnt know bout it...:?::cry:
 

cancel

Full Member level 5
Joined
May 27, 2001
Messages
251
Helped
15
Reputation
30
Reaction score
4
Trophy points
1,298
Activity points
1,878
UDP programing on c++..

both links works:
icecast 2.x - README
---------------------------------------------------------------------

Icecast is a streaming media server which currently supports Ogg
Vorbis and MP3 audio streams. It can be used to create an Internet
radio station or a privately running jukebox and many things in
between. It is very versatile in that new formats can be added
relatively easily and supports open standards for commuincation and
interaction.

Icecast is distributed under the GNU GPL, version 2. A copy of this
license is included with this software in the COPYING file.
 

    leoren_tm

    Points: 2
    Helpful Answer Positive Rating

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: UDP programing on c++..

im doing it for my thesis..
soo...
im researching for a documented project..
thx
 

Shohdy

Full Member level 1
Joined
Jul 19, 2006
Messages
97
Helped
7
Reputation
14
Reaction score
2
Trophy points
1,288
Activity points
1,775
Re: UDP programing on c++..

Hi,

Search the net for any tutorials about sockets...you will find many tutorials discribing how to implement TCP/UDP servers/clients using C++.

I have done it before...may be also you can find some built libs that can do that.

Regards,
Shohdy
 

    leoren_tm

    Points: 2
    Helpful Answer Positive Rating

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: UDP programing on c++..

YEAAA!!
i got socket tutorial..
i got no time to read it all.
thx...im a comunication student..
i focuses on networking...
thats why i just need a code or a direct implemtation to help me in..
im not realy into soc programing..
pls help me...
thanks in advance..


can you tell me more about what you done?/
about UDP and realtime broadcasting??
plsss
 

eelinker

Full Member level 5
Joined
Feb 12, 2006
Messages
269
Helped
16
Reputation
32
Reaction score
8
Trophy points
1,298
Location
PERSIA
Activity points
2,786
Re: UDP programing on c++..

I uploaded a tutorial about socket programming here:
 

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: UDP programing on c++..

eelinker said:
I uploaded a tutorial about socket programming here:

h**p://

it discuses on UDP??thx
 

VSMVDD

Banned
Joined
Jun 12, 2005
Messages
646
Helped
92
Reputation
184
Reaction score
34
Trophy points
1,308
Location
scotland uk
Activity points
0
Re: (800points)audio broadcasting

you need access to the acm {audio codec manager } within windows
then all the donkey work is done by it

look for applications that use this acm via winmm32.lib
and employ mp3 decoding/encoding

a good place to look is in the planet source cd roms
i see several full applications there for this very task
you can also download just those sources by a visit and register at there site

**broken link removed**
 

    leoren_tm

    Points: 2
    Helpful Answer Positive Rating

leoren_tm

Advanced Member level 1
Joined
Dec 19, 2005
Messages
466
Helped
11
Reputation
22
Reaction score
7
Trophy points
1,298
Activity points
4,305
Re: (800points)audio broadcasting

ahh..you mean ill do it myself?
yap im doing my best,...thanks for that.,,
im trying to do it on dephi, they say its easy, but to i dont have much time, if someone has a time to create one, will be much appreciated..
thanks.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top