Re: [twsocket] WSocket.SendTo uses wrong port

2009-11-14 Thread Francois PIETTE
This does not work as (I) expected. I see the packet arriving in Wireshark, but on a port I never specified. Port 59395 that is. Use this: INetBroadcast.sin_port := htons(1000); -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware

Re: [twsocket] WSocket.SendTo uses wrong port

2009-11-14 Thread Stefan Paege
Sorry to bother you again. Can someone please explain to me if there is a bug in the code or if the problem is located in that grey matter between my ears? Regards Stefan > ICS 7.29, RAD Studio 2007 > > Using this socket: > object LanOut: TWSocket > Addr = '255.255.255.255' > Port =