Error “The I/O operation has been aborted because of either a thread exit or an application request”

995 is an error reported by the IO Completion Port. The error comes since you try to continue read from the socket when it has most likely been closed. Receiving 0 bytes from EndRecieve means that the socket has been closed, as does most exceptions that EndRecieve will throw. You need to start dealing with … Read more

What is the difference between AF_INET and PF_INET constants?

I think the Wikipedia notes on this sum it up pretty well: The original design concept of the socket interface distinguished between protocol types (families) and the specific address types that each may use. It was envisioned that a protocol family may have several address types. Address types were defined by additional symbolic constants, using … Read more

What exactly do socket’s Shutdown, Disconnect, Close and Dispose do?

An answer on StackOverflow made me think I have finally reached some glimpse of an understanding. Then I went testing for a bit and here’s the summary of a newbie’s view. Please correct me if I’m wrong because this is based on inference, not expertise. Shutdown Shutdown disables the Send and/or Receive methods, depending on … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)