How can I pass a winsock control to a class???
Printable View
How can I pass a winsock control to a class???
can't you just have it as a parameter?
public sub doWhatever(socket as winsock)
socket.listen ' or whatever?
end sub
Or is that too simple?
but I get an error,
what i am actually doing is that i am passing an array of winsock controls to and array of a class.