blueznl wrote:... Network stuff is easy, just use WinSock. ...
WinSock isn't cross-platform, is it?
To many of us, cross-platform support is a key attraction to PureBasic.
Yeah, you're right. It isn't. Forgot about that.
Weird though, I think / assume there's socket stuff on Linux as well (in fact, socket stuff originated on Unix, Berkely IIRC). Shouldn't be too hard for Fred & Friends to expand on sockets, I guess...
I dunno, I'm not the expert...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Just did a search and nothing's been flagged as "Fixed" by Fred or Freak since early May so it will still likely be awhile before 4.60 Beta 4 or Final rolls out.
Isn't this typically the time of year when Europeans take long holidays? If anyone deserves a nice long relaxing holiday, it's Fred and Freak!
blueznl wrote:Network stuff is easy, just use WinSock. But not being able to detect how long a sound sample is, is just... silly. IMHO YMMV etc. etc.
That's why i use BASS. AFAIR you can find a PB wrapper on this forum which still works.
USCode wrote:
blueznl wrote:... Network stuff is easy, just use WinSock. ...
WinSock isn't cross-platform, is it?
WinSock is based on BSD sockets. If you use BSD socket functions and then add two/three special WinSock calls for your Windows executable, you have fully compatible cross-platform networking.