Results 1 to 2 of 2

Thread: Help w/ Winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2012
    Posts
    8

    Help w/ Winsock

    Hi! i need help in using winsock. I want to send the text of textbox1.text from 1PC to another using winsock connection.

    heres the code that im trying to use (im not sure if it is correct or not. lol)

    PC1:
    lets say
    textbox1.text = "dog"

    send_click()
    winsock1.sendata "animal"

    PC2: (lets say i want to store the received value of PC1's textbox1.text to PC2's textbox2.text)


    winsock_dataarrival()
    ???????????

  2. #2
    PowerPoster
    Join Date
    Feb 2012
    Location
    West Virginia
    Posts
    14,206

    Re: Help w/ Winsock

    you would use the getdata() method of the winsock control in the dataarrival event.

    If you just look at the winsock control in your help file there will be an example of how to use it.

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