Hi have implemented simple file exchange over a client/server connection in c++. Works fine except for the one problem that its so damn slow. This is my code:
I am using C and want to know are XML messages are preferable over text messages as far as 开发者_开发百科communication over a socket connection is concerned?
I found this code witch I tried and it works great but(!). I want to store the file in a folder that I will choose and also get it from a folder that I again will chose. Since the Sender get an argume
I am working on a c# project that has a mdi parent form hosting multiple mdi children form. In one of the children forms, I opened a socket and listening on the socket using tcpListner. I stop the tcp
My chat application connects to a server and information is sent/received by the user. When the connection changes, such as 3g->wifi, wifi->3g, losing a data connection, etc, the socket sometimes stay
I am writing client for TCP connection and conversion from IP to socket_addr makes memory leaks. There is following process:
Here\'s what I\'ve done: I wrote a minimal web server (using Qt, but I don\'t think it\'s relevant here).
Right now, when i press the connect button i will be connected to the server by the default ip address and port number.clientSocket.Connect(\"127.0.0.1\", 8888);
I\'m from the Urkraine, and have bad english, but anyway not sure if there is an answer on my question.
I want my client class to run a thread that sends String information (order) to the server continuously every 5 sec. But instead thread is destroyed after it sends first order. I dont know why and how