Hello, You can try to replace 'localhost' by '127.0.0.1'
It's the same. Olivier Cruilles Mail: linu...@club-internet.fr Le 21 mars 2010 à 15:59, tobias...@t-online.de a écrit : > > > 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 > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user