I've been trying to write a simple chat program that connects to Battle.net through a Socks4 protocol. After doing the research i've seem to come so close, but I just dont understand what i'm doing wrong. Could anyone figure this out. All I want is for the socks4 proxy to respond back so I can send the data for connecting to Battle.net. References: http://www.autoitscript.com/forum/index.ph...;hl=socks+proxy http://www.autoitscript.com/forum/index.ph...p;hl=battle.net Source Code: TCPStartup(