1834485 Members
3115 Online
110067 Solutions
New Discussion

Creating a proxy server

 
dharani babu
New Member

Creating a proxy server

Hello all
I am trying to develope a proxy server for shoutcast server . Usually the DFP Plug In of winAmp enables connection to a shoutcast server and streams the voice data in mp3 format to it . The listeners connect to the Shoutcast server at its port and ip and listen to the broadcast coming out of the shoutcast server .
In order to reduce the latency in trnasmission I am trying to write a simple proxy server that will take the stream from the DSP plugin and redirect the stream to the shoutcast server but the problem is the DSP plugin is not connecting to the server . I am not able to figure out how to create appropriate server and with what type of socket (should I do it with CSocket , CAsyncSocket or plain SOCKET handles )? But I ran netstat when I run the DSP plug In and found it is a TCP socket .How will it get the connection esablished from another application like DSP plugin ? please help me

A programmer