Results 1 to 2 of 2

Thread: Sending Types with Winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2000
    Posts
    4
    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

  2. #2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width