|
-
Sep 1st, 2001, 03:03 PM
#1
Thread Starter
New Member
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
-
Sep 2nd, 2001, 05:23 PM
#2
Fanatic Member
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
Digital-X-Treme
Contact me on MSN Messenger: [email protected]
[VBCODE]Debug.Print Round(((1097) - ((55 ^ 5 + 311 ^ 3 - 11 ^ 3) _
/ (68 ^ 5))) ^ (1 / 7), 13)[/VBCODE]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|