Re: [fpc-devel] using sockets on linux and win32

2006-01-26 Thread Tony Maro
Stefan Kisdaroczi wrote: > Hi, > > im trying to use sockets in a unit which should work on linux and win32. > > I use the sockets unit, but for things like SOL_SOCKET, TTimeval (for > setsockopt), SO_RCVTIMEO, fpgeterrno > I finally had to use unix,unixtype,baseunix. This on Linux. > > Now I try t

Re: [fpc-devel] using sockets on linux and win32

2006-01-26 Thread Stefan Kisdaroczi
Ales Katona wrote: > Stefan Kisdaroczi wrote: > >> Hi, >> >> im trying to use sockets in a unit which should work on linux and win32. >> >> I use the sockets unit, but for things like SOL_SOCKET, TTimeval (for >> setsockopt), SO_RCVTIMEO, fpgeterrno >> I finally had to use unix,unixtype,baseunix.

Re: [fpc-devel] using sockets on linux and win32

2006-01-26 Thread Ales Katona
Stefan Kisdaroczi wrote: Hi, im trying to use sockets in a unit which should work on linux and win32. I use the sockets unit, but for things like SOL_SOCKET, TTimeval (for setsockopt), SO_RCVTIMEO, fpgeterrno I finally had to use unix,unixtype,baseunix. This on Linux. Now I try to compile it

[fpc-devel] using sockets on linux and win32

2006-01-26 Thread Stefan Kisdaroczi
Hi, im trying to use sockets in a unit which should work on linux and win32. I use the sockets unit, but for things like SOL_SOCKET, TTimeval (for setsockopt), SO_RCVTIMEO, fpgeterrno I finally had to use unix,unixtype,baseunix. This on Linux. Now I try to compile it on windows: It seems I need