SyntaxBomb - Indie Coders
Languages & Coding => BlitzMax / BlitzMax NG => Topic started by: wombats on November 13, 2020, 11:42:02
Hi,
I'm experimenting with TCP Socket programming, using the TCP Socket programming (https://blitzmax.org/docs/en/tutorials/tcp_tutorial/) on www.blitzmax.org.
I have a server written in PureBasic that I'm trying to communicate with (it uses the same commands in the PureBasic NetworkServer example (https://www.purebasic.com/documentation/Examples/NetworkServer.pb.html), but the example in the guide on BlitzMax.org closes the connection before the data can be sent.
Is there maybe something I should change on the first line?
Local hints:TAddrInfo = New TAddrInfo(AF_INET_, SOCK_STREAM_)
Also, does brl.socket work on iOS and Android?