The default timeout for connecting seems to be around 30 seconds. Is there any way to specify a timeout value? Would normally use select command with BSD sockets.
TSharedRef<FInternetAddr> addr = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateInternetAddr();
addr->SetIp(ip.Value);
addr->SetPort(10000);
socket->DoSomethingToSetATimeout(10); //What can I do here?
return socket->Connect(*addr);
thanks!