Results 1 to 2 of 2

Thread: Problem with Winsock

  1. #1

    Thread Starter
    New Member
    Join Date
    Jul 2001
    Location
    Halmstad, Sweden
    Posts
    2

    Angry Problem with Winsock

    I'm having problem with the Winsock control. I'm trying to send the time that my computer has been turned on to another computer in a string. I use UDP-mode in Winsock. When I run the program in VB it works fine, but when I compile it and run the exe i get Run-Time Error 126. What is wrong?

    / Xorius

  2. #2
    New Member
    Join Date
    Aug 2002
    Location
    INDIA
    Posts
    3

    Thumbs up This is the solution!!

    I had the same problem and managed to solve it. It occurs when i used ip addresses with udpcontrol.LocalHostName but when I gave hostnames instead of ip, I haven't got this error after that.

    Hope this will solve your problem.

    Priyank
    Mastered in VB, .net , VC++, C++ , PHP, CGI, JAVA, EJB, PERL, JSP, Linux, Networking, XML, WML, Mail servers

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