For testing a networking application, I have written an asio port "proxy": it listens on a socket for the application client activity and sends all incoming packets to another socket where it is listened to by the application server, and back.
Now when either the application or the server disconnect for various reasons, the "proxy" usually gets an EOF but sometimes it receives a "connection reset
I created a java tcp server socket application. This program must always start when the PC boots up. From my research so far, I believe the correct way to achieve this is to run the application as a daemon process. I will use Upstart to start the appplication.
We are developing a network application based on C/S, in this application the server needs to transfer files to clients and sometimes receive files from clients. So in the server application, for every client it needs to create a control socket and many transfer sockets.
My question is how we can create and define a socket as role of control socket or transfer socket?
I am developing an application in which client sends messages to server and server receives messages. But in my application when I am sending message, it is received by server only once. If I have to send message again to server I have to Force close the application and then again send message. Means in continuous manner I have to send data to server. Below is my code.
Hello all
I'm really hoping someone can help me with a strange problem I'm experiencing under Ubuntu Server 10.04 LTS.
I have a server application listening for TCP/IP connections. When it receives a connection, sometimes all works as expected and sometimes not. In the cases where things do not go well, the server reports the socket is open and connected, but receives no data.
I'm new to Java so I need help please. I'm writing an application that will onClick send a String to Server and Server needs to return an image using socket. So my client side is Android and server side is PC - java.
I think that my server side is ok (because he prints out all the system.out.print commands) but my client side is not good. Please tell my where is my mistake?
I'm new to Android programming. My application crashes while creating a socket. I added to the Manifest internet permission, and Wifi is on. I have a server on a PC waiting for the Android client; it works well with my other applications. I don't know where the problem with is this application.
I'm working on a web application with simple API needing authentication. For my application nature, users have two RSA keys, for signing and encrypting messages. My protocol works based on it. The web application has access to public keys.
One solution to achieve authentication and kill MITM is to build SSL over the application API and build an authentication method using user's keys.
I have a client server application in c#.net . installed the server application (Windows services) in the win server 2008 . The server application and client applications are communicated through TCP/IP and port number . But when i try to connect the client to server application it shows me an error as "Remote computer actively refusing the connection ". Could any one tell me what i missed .