J
Jim
Hello,
I have two applications; a test console app and a web service app. They are
both using the same socket code but I'm seeing different results. Perhaps an
expert can advise?
My socket code is real simple, i'm just calling
TcpListener.AcceptTcpClient() which blocks until a client connects to my
socket. When the client connects, it should return with a TcpClient object.
This works just fine in my console app. I've literally cut and pasted this
code into a web application. For some reason though, in my web app this call
never returns even after my client successfully connects to the socket. Its
seems almost as if being in the IIS process is making my socket code act
funny.
Has anyone experienced this before?
Thanks,
-Jim
I have two applications; a test console app and a web service app. They are
both using the same socket code but I'm seeing different results. Perhaps an
expert can advise?
My socket code is real simple, i'm just calling
TcpListener.AcceptTcpClient() which blocks until a client connects to my
socket. When the client connects, it should return with a TcpClient object.
This works just fine in my console app. I've literally cut and pasted this
code into a web application. For some reason though, in my web app this call
never returns even after my client successfully connects to the socket. Its
seems almost as if being in the IIS process is making my socket code act
funny.
Has anyone experienced this before?
Thanks,
-Jim