[Gambas-user] UDP Segmentation Fault

Benoît Minisini gambas at ...1...
Thu Jul 30 19:57:18 CEST 2015


Le 30/07/2015 19:20, Patrick Wright a écrit :
> I am either doing something incorrectly or there is a bug with UDP
> sockets in Gambas. I have created a new instance    of a UDPSocket,
> set its Port property, and called the Bind method.
>
> I have an event handler for the Read event on this socket. In this
> method I am simply using Read #MySocket, Val, Lof(MySocket) to get
> the data that was sent.  Up to this point everything works as
> intended, however when I try to send a reply using Write, the program
> crashes and Ubuntu gives a Segmentation Fault. I have tried using the
> Begin and Send methods, but this causes the same error.
>
> Am I going about this the wrong way?
>
> Gambas Version: 3.7.1
>
> Thanks, Patrick

As usual, send your project and a way to reproduce the crash and I will 
try to fix it. Be quick, as I leave Paris in a few days!

-- 
Benoît Minisini




More information about the User mailing list