Re: [fpc-pascal] Sending UDP packets windows, linux

2009-03-21 Thread Rainer Stratmann
It works with windows and linux if a _connection_ between 2 PC's is made. If there is no connection fpsendto blocks the program. Am Freitag, 20. März 2009 21:58 schrieb Rainer Stratmann: > With 2 Linux PC's this works, but I wanted to connect a Linux and a Windows > computer. > Would that be po

[fpc-pascal] Sending UDP packets windows, linux

2009-03-20 Thread Rainer Stratmann
With 2 Linux PC's this works, but I wanted to connect a Linux and a Windows computer. Would that be possible with UDP packets? fpsendto blocks the program now in windows. function socksend( d : pointer ; l : word ) : longint; begin result := fpsendto( inet_socket , d , l , 0 , @inetaddrsend ,