November 25, 2020, 02:50:34 AM

Author Topic: TCP Socket programming  (Read 82 times)

Offline wombats

  • Jr. Member
  • **
  • Posts: 52
TCP Socket programming
« on: November 13, 2020, 11:42:02 AM »
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?

Code: [Select]
Local hints:TAddrInfo = New TAddrInfo(AF_INET_, SOCK_STREAM_)
Also, does brl.socket work on iOS and Android?

 

SimplePortal 2.3.6 © 2008-2014, SimplePortal