Results 1 to 2 of 2

Thread: Winsock & Data Types

  1. #1
    Guest

    Question

    Hi!

    Is it possible for the Winsock control to send anything else but Strings? I'd like it to send a UDT or a complete recordset of a database.... I'd like something like:

    (1)
    Type Customer
    Name as string
    ID as Long
    etc..
    end Type

    Dim TheVar as Customer
    Winsock1.SendData TheVar

    (2)
    Set TheRecordSet=TheDatabase.OpenRecordSet("Select * from blah blah")
    WinSock1.SendData TheRecordset

    Thanx very much...

  2. #2
    Ex-Super Mod'rater Electroman's Avatar
    Join Date
    Sep 2000
    Location
    Newcastle, England
    Posts
    4,349
    can I just say I am intrested in this topic as I have created a messager that only sends Strings on a UDP. So could you e-mail me if you get a reply. You can download my messager at [url]http://www.Electroman.co.uk/frames/ElectroFTP/IPMessager.ZIP[url]
    If that doesn't work go to my website then click other stuff its their.
    When your thread has been resolved please edit the original post in the thread ()
    and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.

    When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

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