Link to home
Start Free TrialLog in
Avatar of muskad202
muskad202

asked on

winsock .. threaded ? (VB6)

hi !
i wanted to ask .. does the winsock_dataarrival function run in a separate thread ?
is there any call back function in VB6 that runs in a separate thread ?

thanks :)
muskad202
Avatar of Lethal_J
Lethal_J
Flag of United Kingdom of Great Britain and Northern Ireland image

Im not sure that i understand the question, but the "DataArrival" sub runs seperatly from anything else (unless you specifically code it not to... in which case things could get messy).  When Winsock detects incoming data, the sub is autocalled and processes any commands written within.

This might help you understand the functions and subs a bit more.  Its a simple 'Terminal' program demo for "Winsock Programming"

http://www.vbip.com/winsock/winsock_terminal.asp
ASKER CERTIFIED SOLUTION
Avatar of EDDYKT
EDDYKT
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial