Well the fix was pretty easy, change line 502 of gnet.bmx from
to
I'm a bit worried I'm missing something and this little change will cause me tons of problems, but it seems to work.
obj=TGNetObject.Create( msg.id,GNET_MESSAGE,Self,null )
to
obj=TGNetObject.Create( msg.id,GNET_MESSAGE,Self,peer )
I'm a bit worried I'm missing something and this little change will cause me tons of problems, but it seems to work.