Home / General / Simpifying socket exception handling
digWin is a community news sharing site for Microsoft Techies. Share interesting news/links and rate them!

Simpifying socket exception handling

Remembering numeric error codes is hard.  Unless the error handling code is well documented, code reviews take longer and maintenance is more difficult as you may need to consult reference manuals, native code header files or online help frequently.

Socket errors are particularly hard for me to remember.  To help myself out, I have collected Windows Sockets error codes into a couple of enums.

The first enum, SocketErrorCodes uses friendly descriptions based on the following Microsoft Support art





Microsoft news, tips and tricks search

Comments


Post voted by 1 digWinners


Featured Links

User

Login | Register




Forgot Password?

Sponsor

Anti spam filter for mail servers
Anti spam, anti phishing and email management software for Exchange/SMTP/Lotus. Download a FREE trial!

Featured Product

Download Free Exchange Ebook

Categories

Upcoming NEW

Recent comments

Related Sites