H
hermbagger
I have written a server in C# using the .net 2.0 socket class. The
server will run fine accepting incoming connections and handling
connected sockets (up to 10 at a time) just fine. It may run for 2
weeks without a hitch, then all of the sudden, without any
notification, the server will just disappear and not be in the Task
Manager and all connected clients get disconnected. In essence, it
crashes without any warning, or notification. The only remnants of
the server are in the Event log (windows server 2003) which reads
this:
EventType clr20r3, P1 application.exe, P2 1.0.2978.18228, P3 47c3c8c9,
P4 system, P5 2.0.0.0, P6 4333ae87, P7 2bba, P8 42, P9
system.argumentnullexception, P10 NIL.
Has anyone run into this problem? What can be done to try to pinpoint
where this argumentnullexception is not handled in my code? This
message is not very clear at all and doesn't provide any of the
necessary information to debug the problem.
Thanks.
server will run fine accepting incoming connections and handling
connected sockets (up to 10 at a time) just fine. It may run for 2
weeks without a hitch, then all of the sudden, without any
notification, the server will just disappear and not be in the Task
Manager and all connected clients get disconnected. In essence, it
crashes without any warning, or notification. The only remnants of
the server are in the Event log (windows server 2003) which reads
this:
EventType clr20r3, P1 application.exe, P2 1.0.2978.18228, P3 47c3c8c9,
P4 system, P5 2.0.0.0, P6 4333ae87, P7 2bba, P8 42, P9
system.argumentnullexception, P10 NIL.
Has anyone run into this problem? What can be done to try to pinpoint
where this argumentnullexception is not handled in my code? This
message is not very clear at all and doesn't provide any of the
necessary information to debug the problem.
Thanks.