| c# Programming Glossary: socketexceptionCreate “Hello Wold” WebSocket example http://stackoverflow.com/questions/10200910/create-hello-wold-websocket-example   Thread.Sleep 10000 wait for message to be send   catch SocketException exception   throw exception  finally   if serverSocket null.. if client null Handshaking and managing ClientSocket catch SocketException exception finally if serverSocket null && serverSocket.IsBound.. 
 How to config socket connect timeout in C# http://stackoverflow.com/questions/1062035/how-to-config-socket-connect-timeout-in-c-sharp  Connection Established WaitForServerData catch SocketException se lb_connectStatus.Text Connection Failed MessageBox.Show se.Message.. 
 Request Web Page in c# spoofing the Host http://stackoverflow.com/questions/359041/request-web-page-in-c-sharp-spoofing-the-host  SocketType.Stream ProtocolType.Tcp socket.Connect ip catch SocketException ex Console.WriteLine Source ex.Source Console.WriteLine Message.. 
 How to get IP all hosts in LAN http://stackoverflow.com/questions/4042789/how-to-get-ip-all-hosts-in-lan  Dns.GetHostEntry ip  name hostEntry.HostName   catch SocketException ex    name    Console.WriteLine 0 1 is up 2 ms ip name e.Reply.RoundtripTime.. 
 Reuse asynchronous socket: subsequent connect attempts fail http://stackoverflow.com/questions/5762276/reuse-asynchronous-socket-subsequent-connect-attempts-fail  result ChangeState EClientState.Sending  catch SocketException e  Console.WriteLine Can't connect to _asyncTask.Host Console.WriteLine.. Can't connect to _asyncTask.Host Console.WriteLine SocketException 0 Error Code 1 e.Message e.NativeErrorCode ThreadPool.QueueUserWorkItem.. calls to BeginConnect result in a timeout and an exception SocketException A connection attempt failed because the connected party did.. 
 C# Async Sockets Server Receive Problems http://stackoverflow.com/questions/5934469/c-sharp-async-sockets-server-receive-problems     SocketFlags.None    pfnCallBack    client catch SocketException se  MessageBox.Show SocketException@WaitForData se.Message public..    client catch SocketException se  MessageBox.Show SocketException@WaitForData se.Message public void OnDataReceived IAsyncResult.. ObjectDisposedException@OnReceiveData ode.Message catch SocketException se  MessageBox.Show SocketException@OnReceiveData se.Message.. 
 How can I tell if the connection has been broken in my sockets based client? http://stackoverflow.com/questions/681866/how-can-i-tell-if-the-connection-has-been-broken-in-my-sockets-based-client  other end while socket.Connected  Do some processing catch SocketException se Console.WriteLine ex.Message catch Exception ex Console.WriteLine.. 
 Sending and receiving UDP packets between two programs on the same computer http://stackoverflow.com/questions/687868/sending-and-receiving-udp-packets-between-two-programs-on-the-same-computer  computer at the same time starting my program last I get a SocketException saying that only a single use of each port is normally allowed... 
 Reverse IP Domain Check? http://stackoverflow.com/questions/716748/reverse-ip-domain-check  address.Length index Console.WriteLine address index catch SocketException e Console.WriteLine SocketException caught Console.WriteLine.. address index catch SocketException e Console.WriteLine SocketException caught Console.WriteLine Source e.Source Console.WriteLine Message.. 
 Instantly detect client disconnection from server socket http://stackoverflow.com/questions/722240/instantly-detect-client-disconnection-from-server-socket 
 UdpClient receive on broadcast address http://stackoverflow.com/questions/746519/udpclient-receive-on-broadcast-address  UdpClient new IPEndPoint IPAddress.Broadcast 1234  catch SocketException ex  MessageBox.Show ex.ErrorCode.ToString  IPEndPoint remoteEndPoint.. 
 Sending and receiving an image over sockets with C# http://stackoverflow.com/questions/749964/sending-and-receiving-an-image-over-sockets-with-c-sharp  ProtocolType.Tcp try   server.Connect ipep  catch SocketException e   Console.WriteLine Unable to connect to server.  Console.WriteLine.. 
 Maintaining an open Redis connection using BookSleeve http://stackoverflow.com/questions/8645953/maintaining-an-open-redis-connection-using-booksleeve  _connection.Open  _connection.Wait openAsync   catch SocketException ex    throw new Exception RedisConnectionFailed ex    return.. 
 How to write a scalable Tcp/Ip based server http://stackoverflow.com/questions/869744/how-to-write-a-scalable-tcp-ip-based-server  ProtocolType.Tcp catch System.Net.Sockets.SocketException e throw new ApplicationException Could not create socket check.. new AsyncCallback acceptCallback _serverSocket  catch SocketException e  if conn.socket null  conn.socket.Close lock _sockets  _sockets.Remove.. lock _sockets  _sockets.Remove conn  catch SocketException e Something went terribly wrong which shouldn't have happened.. 
 |