index property in winsock?

dta

Newcomer
Joined
Jul 20, 2002
Messages
2
there is no index property so i can make an array in winsock! how i can make an array?

i get this error
Class 'AxMSWinsockLib.AxWinsock' cannot be indexed because it has no default property.
 
This is from the MSDN in a Technical Article called "Creating Control Arrays in Visual Basic .NET and Visual C# .NET"

"Although Visual Basic .NET and C# have no inherent support for creating control arrays, you can duplicate all of the functionality of control arrays programmatically."
 
Added to which, you should not be using the Winsock control in .NET. Look at the Socket class instead.
 
Back
Top