Page 1 of 1

Vb6 and winsock...

Posted: Tue May 11, 2010 2:22 pm
by jtst1
Well I finally started coding again, but wanted to start with something easy, and not to difficult. Work my way up. Well I made a vb6 winsock control chat that I thought I could use on other computers...Apparently the computers I was gonna chat on don't have mswinsck.ocx, and I can't install it. Is there an alternative to winsock that does the samething, but minus the .ocx dependencies, or atleast portable? Or is there a way I can make winsock work?

Re: Vb6 and winsock...

Posted: Tue May 11, 2010 5:42 pm
by K-Bal
Are you limited to VB or can you write in C/C++/Java?

Re: Vb6 and winsock...

Posted: Wed May 12, 2010 8:36 am
by jtst1
I know a little c++ but probably not enough to do the samething, but I could try. Although I haven't worked with a graphics library yet.

Re: Vb6 and winsock...

Posted: Wed May 12, 2010 1:18 pm
by Kros
Why VB6 and not something a little bit more recent?

Re: Vb6 and winsock...

Posted: Wed May 12, 2010 1:22 pm
by short
My very first game in high school was with vb6.

Re: Vb6 and winsock...

Posted: Wed May 12, 2010 1:38 pm
by K-Bal
jtst1 wrote:I know a little c++ but probably not enough to do the samething, but I could try. Although I haven't worked with a graphics library yet.
If you want to make a GUI, you can try Qt. It has a simple network interface. SFML also has a very easy to use network library.

Re: Vb6 and winsock...

Posted: Wed May 12, 2010 3:37 pm
by Milch
K-Bal wrote:
jtst1 wrote:I know a little c++ but probably not enough to do the samething, but I could try. Although I haven't worked with a graphics library yet.
If you want to make a GUI, you can try Qt. It has a simple network interface. SFML also has a very easy to use network library.
If you use SFML for network, download the 2.0 package and not the 1.6 package.
In 1.6 there is a serious design flaw, so you cant use selectors.

Re: Vb6 and winsock...

Posted: Thu May 13, 2010 12:01 am
by jtst1
Edit. I found a vb6 class module online that someone created to replace winsock. It has much the same syntax, and it doesn't have any dependencies, so I am going to try and convert my program to it, and see if it works. It's call Unisock, found it on http://www.vbforums.com/showthread.php?p=3799361 if anyone wants to check it out. Looks promising.
---Edit---
Nevermind it keeps crashing, and is buggy...Does QT have dependencies like .ocx's that have to be installed on every machine?