[Gambas-user] Bug in Socket connection and WAIT
Pietro Di Costanzo
pxpert at ...626...
Mon Oct 12 12:43:01 CEST 2009
Sorry,
You're right, I had the revision 2388.
Now with #2391 it works without problems, Thanks!
2009/10/12 Benoît Minisini <gambas at ...1...>
> > Hi,
> >
> > I would like to signal a bug into the gambas interpreter.
> >
> > If I create a simple script that just create a socket and wait after a
> > connection, the interpreter crashes.
> > This does appen only if i don't use gb.qt or gb.gtk (I should run it into
> a
> > pc without X ).
> >
> > This is the example code, the bug is riproducible in gambas 2.16. and in
> > svn (2.x, didn't try the trunk)
> >
> > ' Gambas module file
> > PRIVATE JSocket AS Socket
> >
> > PUBLIC SUB Main()
> >
> > JSocket = NEW Socket
> > WITH JSocket
> > .Host = "192.168.0.51"
> > .Port = 8956
> > .Connect
> > WAIT 0.2
> > END WITH
> >
> > END
> >
> >
> > I'm only using GB and GB.NET components and the connection has to be
> valid
> > (Valid host and port).
> > Please let me know If I've made some mistakes.
> >
> > Thanks,
> > Pietro
>
> You didn't, this was a bug, fixed in revision #2390.
>
> Regards,
>
> --
> Benoît Minisini
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
More information about the User
mailing list