Results 1 to 17 of 17

Thread: Winsock.SendData problem with strings*unresolved*

Threaded View

  1. #1

    Thread Starter
    Addicted Member Booda's Avatar
    Join Date
    Aug 2001
    Location
    B.C, Canada
    Posts
    237

    Winsock.SendData problem with strings*unresolved*

    Hi all just a quick question:
    Can you send a string using senddata through a network

    VB Code:
    1. Private Sub Runner_Timer()
    2. Dim Sendoff As String
    3.  
    4.     Info = Time
    5.     lblInfo.Caption = Info
    6.     lblCompNam.Caption = ComputerNME
    7.     lblIP.Caption = IP
    8.     Sendoff = Info & "*" & ComputerNME & "*" & IP
    9.     Winsuck.SendData Sendoff
    10. End Sub

    I keep on getting a error "Wrong protocol or connection state for the requested transaction or state"
    I am using TCP, I know it works in UDP.
    anybody have any clues

    Thanks in advance
    Last edited by Booda; Oct 30th, 2002 at 07:39 PM.

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