Author | Message | Time |
---|---|---|
K0D3R | I'm looking for a simple way to connect and disconnect from bnet right now. Since this is the only GOOD forum i know of to get some programming help, i thought i'd ask =) | May 30, 2003, 5:07 AM |
Noodlez | To connect (in VB, which I assume your using for the obvious reasons) Winsock.Connect "uswest.battle.net", 6112 To disconnect Winsock.Close | May 30, 2003, 5:39 AM |
K0D3R | nahh, i thought i put VC++ in the title, but i guess i didn't.... | May 30, 2003, 9:16 PM |
Zakath | [code]connect (BinaryBotSocket, (struct sockaddr *)&sa, sizeof( sa ))[/code] and [code]closesocket( BinaryBotSocket )[/code] have always worked well for me. | May 31, 2003, 1:59 AM |
Yoni | You should shutdown the socket too, to gracefully terminate the connection. | May 31, 2003, 5:29 PM |
Zakath | True, but I'm lazy. | May 31, 2003, 9:55 PM |
DrivE | Not too lazy to respond to the post pointing out your mistake... ~DrivE~ | May 31, 2003, 10:21 PM |