Hi,
Just wondering when making a connection to a TCP socket, what does the TimeOut do?
Lets say I set the timeout to 5000.
Does that mean it will try and connect and if it fails to connect in 5 seconds it will timeout and fail to login or does it mean that if no data is sent for longer then 5 seconds it will close the connection ?
Just wondering when making a connection to a TCP socket, what does the TimeOut do?
Lets say I set the timeout to 5000.
B4X:
Socket1.Initialize("Socket1")
Socket1.Connect("192.168.0.5" , 1234, 5000)
Does that mean it will try and connect and if it fails to connect in 5 seconds it will timeout and fail to login or does it mean that if no data is sent for longer then 5 seconds it will close the connection ?