[Gambas-user] Problem with Sockets

tobiasboe at ...221... tobiasboe at ...221...
Sun Mar 21 15:59:32 CET 2010


   Hey Mailing-List,
   now I habe a problem with the sockets (gb.net, normal socket). I just create
   one and connected like this Socket1.Connect("localhost", 80) - with the
   elements of the example in the documentation (waiting until the socket is
   ready and so on) and when I
   WRITE #Socket1, TextArea1.Text, Len(TextArea1.Text)
   an Error is raised. I have Socket1.Status = -6 - "Host not found" at this
   point. But "localhost" in firefox works fine. Is there anything I didn't
   understand?
   I tried the portscanning example in the documentation too: the same thing.
   Please help me, it's important.
   Regards,
   Tobias



More information about the User mailing list