TCP Socket programming

Started by wombats, November 13, 2020, 11:42:02

Previous topic - Next topic

wombats

Hi,

I'm experimenting with TCP Socket programming, using the TCP Socket programming 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, 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?