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
------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to