[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] MiNTNet: connect timeout?
On Friday 04 January 2013 04:35:27 Pierre Ton-That wrote:
> Is there a way to test an opened port(s) before the connection attempt,
> or use a timeout in the connect function? Or do programs use a separate
> process they can kill if connection is too long?
I'm not sure this answers your question, but isn't select() what you're
looking for?
http://support.sas.com/documentation/onlinedoc/sasc/doc750/html/lr2/select.htm
Cheers,
JFL
--
Jean-François Lemaire