If this is an assignment and you have to use UDP then go ahead and use UDP, no problem !
You have to write a client/server application in C++ . One program for client and one for server. In real life the client hardly ever transmits any "audio file" (data) to the server. Generally it's the other way around. The server would use send(...) function to transmit data to the client. The client should 1. open the audio device 2. Connect and receive data from server 3. Feed the data into the audio device. Since you are new to this , first write the data that you receive into a file. (give .wav extension) Once the file write is complete, open the file in Windows media player or any other application which can play .wav files. If this is successful then you should try writing into the audio device directly. For socket programming you can search google "C++ socket programming" Similar search you can do on how to open/close/write audio device in your OS. Yes , do learn about UDP,TCP and IP , otherwise there is no point doing this . Thanks, -Saswat On Mon, 2007-02-12 at 23:20 +0000, snoopi20 wrote: > HI all...a new member here...would really appreciate some help...i > have to send wav data continuously across an IP network using UDP..i > have no idea how how to approach this pproblem....can i use streams > with UDP? > i need to be able to continously transmit (real time) wav data from > the client side (as soon as the .wav data is captured) to the server > side. > What C++ functions should i look at? > > > > > >
