I'm trying to send a Java UUID to C++, where it will be used as a GUID, then send it back and see it as a UUID, and I'm hoping to ... |
I'm writing a client/server application in Java and I'm using TCP to transfer data which I'm storing in an ArrayList (i.e. An ArrayList of arrays of Strings).
What is the best way ... |
I have to connect to a existing C system, and the tcp packet looks like
typedef struct exampleDataPacket{
int messageType;
float dataValue;
char dataDesc[100];
}
So to send ... |
I am trying to send a http request from a tcp client in java. I want to read the http request message from a text file and send the http request ... |
I'm trying to send messages (byte arrays) from Node.js to Java via TCP socket (serialized with protobuf).
I create a server socket on the java side, and connect to it from ... |
I implement NTLM SSO, it works well, but when I want to switch to use login form, IE doesn't work:
1.SSO into my website
2.clear session and redirect to login page
3.key in username ... |
I want to use my computer's IP address to send a message using socket connection between them. My mob acts as the client and my computer , as a server. I ... |
|
I want to use IMAP service to connect to my yahoo mailbox .. However, I get the same output irrespective of my inputs..
My codes
[code]
void gmail(){
... |
When I use Javaa's Socket class to send out a byte array, does the write call in the following code block until it has verified that the recipient has received the ... |
I'm trying to build a file server using Java TCP sockets. I keep getting an error when I try to send a file over a few KB. The error is as ... |
I have an application that constantly fetches input in Java from a frame buffer and sends it over the wire to a C++ application.
I am having issues on the receiver side. ... |
I have an image in my server which I want to send to my Java client through sockets. In c# I converted to byte array and then tried to send over ... |
Hello First of all thanks to all for helping out with this thread: Speeding up BufferedInputStream The code i have so far is just copying a file. I want to read the content of the file to a variable and send it over a socket. import java.io.*; import java.math.BigInteger; import java.security.*; public class backup_client { //Read file index public static String ... |
I have a server and client and I need the server to send a jpeg file through a tcp socket, a file called base.jpg that has a size of 3092 bytes, the client is supposed to make and save the jpeg image inside base.jpg into a file called newbase.jpg My problem is that the new image file created by the client ... |
|
I'm new with TCP programming. I'm beggining to learn about TCP and sockets connections in Java. In order to achieve this, I was coding a mini-program so I can learn a little bit about this. I'm trying to make a simple TCP program. The server sends a string to a client... I already searched for a couple of hours in google ... |
this code works open the webcam capture save and send over network contineusly with out giving any error It creates video in my local pc and send over network I can see that video size is changing every seconds And fourtunately I am caming to my problem If I close processor "p.close()" program create video file but it can npt be ... |
You have the choice of trying to use an available library, implementing a standard protocol, such as RTSP, or writing your own protocol. Writing your own protocol is no simple feat if you are want to optimally. Sub-optimally you could simply send each frame as set of bytes, something like: - byte count in frame - width - height - data ... |
That is called a protocol. You need to define the protocol for the client and server. You already have a protocol, but it only handles 1 file per connection. Currently, your server will accept a client connection, read the file, and save it. You can easily upgrade your single-file server into a multi-file server by resetting the buffers, and looping the ... |
The problem above happened because the sender was closing the streams faster than the receiver reading the last bytes... its now fixed. Now the problem is another, the receiver doesnt receive -1 after the last chunk, the sender just get out of the loop after the last bytes are sent, it doesnt try to read more. I had to make a ... |