Hello All!!

I need to send objects of VB user defined types over a VB winsock. Is there a
simple way to do this? According to VB documentation, the winsock can only send
strings and binary arrays.

I have a zillion questions now

-Would writing a c++ DLL to pack and unpack these objects into a byte array work?
-What about strings and variants that do not have a fixed length?
-What does a VB user defined object look like in memory? Is it laid out continuous?
-How do you specify how many bytes you would like to receive before the winsock data_arrival event goes off?

Any suggestions would be very much apreciated.