Hi Tom,
Thanks for your feed back.
here is code where I am getting that error message.
Private Sub DoListen()
Try
' Listen for new connections.
listener = New TcpListener(System.Net.IPAddress.Any, PORT_NUM)
listener.Start()
Do
' Create a new user connection using TcpClient returned by
' TcpListener.AcceptTcpClient()
Dim client As New UserConnection(listener.AcceptTcpClient)
' Create an event handler to allow the UserConnection to communicate
' with the window.
AddHandler client.LineReceived, AddressOf OnLineReceived
UpdateStatus("(" & Format(DateTime.Now, "dd-MM-yyyy HH:mm:ss") & ")." & "New
Connection Found: Waiting for Log-in")
Loop Until False
Catch ex As Exception
Call WritetoTextFileMain("DoListen" & ex.ToString)
End Try
End Sub
*When ever I start my Application , I got that Error message...
Please help meeeeee
Rik
"Tom Shelton" <to*@YOUKNOWTHEDRILLmtogden.com> wrote in message
news:OC**************@TK2MSFTNGP12.phx.gbl...
In article <ej**************@TK2MSFTNGP14.phx.gbl>, Rik wrote: No Body is here to help me or Guide me please??
Rik
"Rik" <ri********@yahoo.com> wrote in message
news:en**************@tk2msftngp13.phx.gbl... Hello Experts,
I have a communication server in VB.NET.
It was working fine from last 6 months, but now start giving error
message
like that.
21-03-2005 07:58:27 DoListenSystem.Net.Sockets.SocketException: A
blocking
operation was interrupted by a call to WSACancelBlockingCall
at System.Net.Sockets.Socket.Accept()
at System.Net.Sockets.TcpListener.AcceptTcpClient()
at ProjectCommServer.CommServer.DoListen()
When I launched it I got that error message in my error log file..
Can anybody tell me what sort of that error is? and why is that keep
coming in now?
Thanks in Advance....
Please help....
Rik
I've never seen that error... Can you post some relavent code?
--
Tom Shelton [MVP]