-
WinSock?
Hi!
I was wondering if it is possible to use WinSock without the OCX, like only using the API? If so, how? And can I create a class so that it acts like the winsock ocx.
I'm working on a small app and need 2 use the winsock, but I'm using the app in school, and can't register the OCX there.
Thx in advance
-
Info.
Yeah, you can use Winsock API to create a class that implements Winsock functionality. It wouldn't be that hard, but you would need a sound grounding in Winsock API, and it would be quiete a complex object to code and design in VB...
There is an example on Planet Source Code called TTSock i think, which is basically a Winsock control replacemet. It is an OCX, but you should be able to take it to pieces and use the bits you need. Here is the project: http://www.planetsourcecode.com/xq/A...s/ShowCode.htm
What features of Winsock do you require for your application? Send functioality, listen functionality, etc? If the needs are specific, it might be easy to code a Winsock API solution. Post back and let me know.
Laterz