marceldev89 / BattleNET

BattlEye Protocol Library and Client
GNU Lesser General Public License v3.0
76 stars 44 forks source link

Proxy support #24

Closed DomiStyle closed 11 years ago

DomiStyle commented 11 years ago

Would it be possible to include support for a proxy? Since I am online alot behind a proxy alot I can't do anything because BattleNET won't connect. Best would be if BattleNET would accept a IWebProxy so you could just assign a proxy like this: b.Proxy = proxy;

marceldev89 commented 11 years ago

IWebProxy seems to be only working with WebRequest, which I'm not using to connect.

marceldev89 commented 11 years ago

C# doesn't support proxies at the socket level. I would either have to write my own proxy support (I assume SOCKS5) or use code from someone else. For now it seems a bit to much work with little gain. You're free to make it work yourself though, I'm more than happy to merge it with my code.

marceldev89 commented 11 years ago

Came across this, might be useful for the time being. :)

DomiStyle commented 11 years ago

Indeed, looks quite nice. Could also come in handy for other applications that don't have proxy support like Steam. ;) Thanks.