I recently noticed that an Crystal Reports viewer J2EE app, based on Crystal Enterprise Java SDK seems, to open its own IOP listener on a custom port (it seems to recieve some callbacks from report server this way).
The question is - given this is a J2EE application, how does it open the IIOP listener, and is it (from the perspective ...
Hello,
Can someone give me a link to a very reliable asynchronous communication library created using sockets which can simply send text messages from client to server and vice versa?
The asynchronous library should work without memory leakage even if the client and server programs are fully closed and then re-opened and re-connected r...
i have to build a concept to communicate between two computers using shared memory or tcp socket programming concepts..how do i go about it?is it possible to implement shared memory in a client server architecture?how do i go about it?
...
I have created a socket programming for server client communication.
I am reading data using read(byte[]) of DataInputStream
Also writing data using write(byte[]) of DataOutputStream.
Whenver I am sending small amount of data my program works fine.
But If I send a data of 20000 characters and send it 10 times then i am able to recieve t...
I have written a socket program where the client uses readUTF() and writeUTF() to communicate with the server while the server uses read and write() to communicate with client.
Actually My server can read all the data coming from server.
But as I am using write() in server side and readUTF() in client side.
So In this scenario My Client...
When using socket in the UNIX domain, it is advisable to use path name for the directory directory mounted on the local disk. The UNIX domain only allows interprocess communication for process working on same machine.
Can you please explain the above line? It is about a socket in the UNIX DOMAIN.
Thanks!
...
I have been reading the descriptions of referencing in Java, and, while I feel I understand them, I am not sure if Java allows me to do the following: we have two threads in the same JVM communicating via sockets, and we would like to pass what is essentially the address of a large chunk of data across the socket, without copying the dat...
I have written a socket program using read() and write().
Whenever I want to send large data using write(). I am unable to recieve data at a time. Means my data is divided into two section so how can I send large amount of data. or read the data at 1 time.
Also I am unable to know whether this is the problem of write() or read()
Thanks...
Hi All,
We are currently testing a Telecom application over IP. We open a Raw Socket and receives messages from the remote side (msgrate@750+msgs/second approx size of 180 bytes excluding IP).
On top of the Raw socket sits a layer called SCTP (just like TCP) which is indicating every now and then that it is missing some packets. Now, w...
I have a Windows Service that communicates with a server and acts as a proxy between clients and the real server. The client data is sent to the server and server's data back to the client. The above two are totally independent as they run on separate thread.
Following are the steps:-
Socket accepted by listener
Thread 1 - Receives da...
Hi folks,
I want to have a listener for a socket at the client side. I am using Android which is Java. I am using TCP/IP but I don't want to loop at the client side.
Is there any method for that or do I have to have my own mechanism for listening?
Any help would be appreciated. Thanks in advance,
...
High I am new to java NIO. I have to write a simple server client communication program using java NIO. So is there any sample programs or any link where can I go for this.
Thanks
Bapi
...
I'm using SAS 9.2 on OpenVMS to connect to an external data source over a socket specifed with a filename statement:
filename extsrc SOCKET "extserver:port" recfm=v;
data foo;
infile extsrc;
input;
.... some statements to read stuff ...;
run;
This works (as it should) 99% of the time. However, once in a while the program that is supp...
My java skills are limiting me from doing what I want to do.
I am trying to use the Interactive Brokers Java API to see if I can do some algorithmic trading (on paper initially). I want to call a method called ReqMktDepth() which is in a class called EClientSocket.
The EClientSocket constructor requires an object of type AnyWrapper to ...
I want to be able to reuse some ports, and that's why I'm using setsockopt on my sockets, with the following code:
sock.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
However, this doesn't really work. I'm not getting a bind error either, but the server socket just isn't responding (it seems to start , but if I try to connect to ...
I have a problem with Socket connection closing too fast. I was told I need to temporarily load data from Socket and the parse it. Here is my code:
ServerSocket listen = new ServerSocket(this.port);
Socket server;
while(i < this.maxConnections)
{
server = listen.accept();
processRequest(server);
i++;
}
processRequest
pro...
Hi I have created a socket and client program using java NIO.
My server and client are on different computers ,Server have LINUX OS and CLIENT have WINDOWS OS. Whenever I have created 1024 sockets on client my client machines supports but in server I got too many files open error.
So How to open 15000 sockets without any error in server....
Hello,
Why doesn't sockets/remoting have the ability to work smoothly when disconnected and reconnected repeatedly? I'm forced to kill both the server and client application and reopen them again.
What is the fix for this issue?
Thanks
Edit: There's no one problem with this issue. Different errors come up...Sometimes,the application ...
hi,
I am trying to write an application that uses java.net.Socket. I have also written an app in Java using GWT to display the contents from an ArrayList.
However, I now need to populate that ArrayList via a socket connection. Apparently Google Web Toolkit does not support socket connections. Can anyone please give me a workaround f...
I have the following algorithm implemented in Java which uses TCP/IP:
-Client request a file
-Server checks if the file exists
- if do: send contents of the file to the client
- if not: send "file not found" msg to the client
Now I`m having trouble implementing that using UDP Datapackets. Here is my code:
CLIENT:
package br.c...