> Upon creating a new TSNMPSend object instance, what will happen if: > > Call to WSAStartup() fails
This can fail on very exotic machines only. However what happen depending on if you have compiled Synapse with or without exceptions as default. With exception on by default - constructor raising exception Without exceptions on by default - you cah check LastError after constructor. However you must not do this check explicitly, because if WSaStartup failed, then failed any network communication attempts too. > The call to create the socket via Win32 socket() fails. Socket is not created by constructor! -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
