TCP Connect Timeout

Leos Urban Leos.Urban na aitix.cz
Úterý Březen 17 09:47:36 CET 1998


Ahoj,
nevite nekdo, jak nastavit (snizit) v cecku cas pro timeout ve funkci
Connect?
Potrebuji, aby connect kdyz nenajde pocitac na druhe strane (existuje,
ale neni zapnuty) vypadl uz po treba 5 sekundach.
Funkce SetSocketOpt s parametrem SO_RCVTIMEO mi nefunguje,
je udajne jen read-only a navic ten parametr SO_RCVTIMEO nemam vubec v
header filech.
Dik, moc byste mi pomohli.

Leos



Další informace o konferenci Linux