-
Hi there, any help would be much appreciated...
i'm programming the network code for a game, and i need to send user defined types using the vb winsock (6.0) control. the senddata function won't let me send a type, it says 'Only public user defined types defined in public object modules can be used as parameters or return types for public procedures of class modules or as fields of public user defined types'
apparently there's some way to do this using a byte array, but i have no idea how...
thanks again
pete
www.cintelsoftware.co.uk
-
Check out http://www.catalyst.com/support/tips/tip03.html
It is a tip, Using Data Structures with SocketWrench in Visual Basic. I think it is easy to aplly to the Winsock Control.