Sockets Server / Sockets Client - unable to read data from the transport connection

Sockets Server / Sockets Client - unable to read data from the transport connection

Post by m_dooli » Thu, 29 Jul 2004 06:15:44


Sniff...
Finally figured it out after frustrating hours, days, nights trying to
get the pocketpc and or emulator to work...

Had to put a sleep command in it somewhere (server side)...

If Network.CheckForTerminator(streamRead.ToArray()) = True Then
Threading.Thread.Sleep(2000) 'DID THE TRICK!
ProcessCommand(streamRead)
End If

Even tried it with
Me.MainClient.ReceiveTimeout and SendTimeOut but that didn't help much.

Wish I'd understand exactly what the problem technically was, looked
like the socket / tcpclient connection 'dropped' because it went to
fast..

Mike
 
 
 

1. Socket Server to Socket Client..Client function not working when called from Server...

2. Socket connection from web clients to socket server on internal LAN

Hello

I have to design a solution whereby a client program interacting with a web
browser receives data from a server. It is not some popup nonsense it is a
telephony server passing telephony data to certain registered users.

My usual version of the client program works on a LAN and so the program can
communicate via a socket connection over a specified port. However, the web
clients can use the product from outside the company LAN.

I know products such as Skye seem to be used within a company and they seem
to get round firewall issues. How do they do it?

Would the server need to be on a public server? Or could a sort of proxy
server running on the web server redirect data from the internal server to
the outside clients. Is it HARDER doing it FROM internal server TO outside
clients than sending data FROM outside clients TO inside server?

Can anyone suggest some possible ways round the problem. I don't think the
company wants to open up a port for external users to access their internal
server.

Angus

3. Why does a client socket hang at WaitOnConnect after a server socket has accepted the connection?

4. writing data form server socket to client socket

5. Async socket connection ends up in Unable to read data from....

6. Reading binary socket data and copying to another socket ?

7. Can the socket-client programmed with VB work with the socket-server with Indy TCPServer?

8. Multiple Client Sockets, Single java program, connect to server socket, possible?

9. Client socket disconnection event not received on Server socket java .nio

10. sockets: detecting closed sockets/dead clients or servers

11. Client Socket Shutdown is not visible on the Server Socket

12. Java Server Socket & C++ Client Socket

13. Unable to read data from the transport connection: An existing connection was forcibly closed

14. Unable to read data from the transport connection: An existing connection...

15. Convert System::Net::Sockets::Socket to winsock2's SOCKET?