OpenTCPStream returns 0

Blitz3D Forums/Blitz3D Programming/OpenTCPStream returns 0

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

warning. you are sending a packet for each byte.

this is a slow method of sending using TCP.

try using WritebyteS instead.

with writeBytes you can send several bytes at one packet. MTU size is often 1500 on internet.