Login  
Search All Forums
Dart Home | PowerTCP Sockets for .NET | Custom Development Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
AuthorForum: PowerTCP Sockets for .NET (Secure and Standard)
Topic: Server service needs restart
mmarques

From: Rio de Janeiro, Brazil
Posts: 1
Member Since: 07/30/06
posted July 30, 2006 4:40 PM

I am experiencing a strange issue where a service that appears to be running perfectly, suddendly needs to be restarted in order to keep servicing clients. Researching the problem, I've found no clue but the following event in the server event viewer.

Event Type: Information
Event Source: MDC MT Hub
Event Category: None
Event ID: 0
Date: 30/07/2006
Time: 04:05:54
User: N/A
Computer: SERVER
Description:
MDC MT Hub Station: 10.0.0.7 has thrown an exception: System.Net.Sockets.SocketException: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied
  at Dart.PowerTCP.Sockets.Tcp.a(Byte[] A_0, Int32 A_1, Int32 A_2)
  at Dart.PowerTCP.Sockets.TcpStream.Write(Byte[] buffer, Int32 offset, Int32 size)
  at Dart.PowerTCP.Sockets.SegmentedStream.Write(Byte[] buffer, Int32 offset, Int32 count)
  at Dart.PowerTCP.Sockets.EnhancedStream.Write(Byte[] buffer)
  at Dart.PowerTCP.Sockets.SegmentedStream.Write(String buffer)
  at MdcMTHub.MDCMT.SocketChild.Communicate()
  at MdcMTHub.SocketServer.mServer_Connection(Object sender, ConnectionEventArgs e).

This event appeared every time the service needed to be restarted, but sometimes it is there but the service didn't stop.
Amit

From: Rome, NY USA
Posts: 315
Member Since: 03/15/06
posted July 31, 2006 2:17 PM

Hello,

Regarding the query, please note that this error message normally occurs when Client or Server application is suddenly stopped or the host is rebooted. It may also be due to the host or remote network interface disabled or the remote host using a hard close.

I would suggest you to please make sure that you are using a valid address when making a SendTo call.

I would request you to please provide us a sample application so that we can replicate the said behavior at our end. You may email us the sample application along with the required information at support@dart.com.

Have a nice day ahead.

Best Regards,
Amit
Reply | PowerTCP Sockets for .NET (Secure and Standard) Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX