this is the code that i get so far...
import java.net.*;
public class PortScanner {
public static void main(String args[]) {
int startPortRange = 0;
...
|
I am programming a client and server in Java where the client sends a request to create a Certificate. This request contains a lot of different datatypes including byte [], the ... |
Am trying to connect to a remote system which is not in the same local area as mine through java sockets, can anyone share some sample code or docs to do ... |
i have the need to discover open ports on a remote server. i wondering if this is possible. i was thinking i'd open a socket, and if this succeeds, it means ... |
So i want to make one application send data to the other via wi-fi. Since IPs are private, for the devices that are used to run the apps on, i figured ... |
|
How can I write a program that connects to a remote machine, and allows me to use typical commands such as 'ls', 'cd ', etc. and recieve a response from the remote host? Note that I do not want to use the ftp commands 'LIST' and 'CWD'. McCool [This message has been edited by Darryl McCool (edited January 11, 2001).] [This ... |
|
This server I'm working on spawns a new thread for each user that connects. It passes the socket, which the thread uses to make a new BufferedReader. Then it has a while loop: while(keepGoing) { in.readLine(); doStuff(); Thread.sleep(); } This is obviously an approximation. Anyway, it recognizes a disconnect command, in which case the thread cleans up and kills itself. But ... |
I am aware of retrieving data from a Remote Site. But, I want to retreive an "Image" from a Remote Site. How can it be done? I need your help. Can you please write here or send me through e-mail (priya_madhuri@usa.net), a sample program to retrieve "Image" from a remote Site. Thank you -Priya |
|
Hi Jon, Thanks for your suggestion. felt happy to see atleast one response for my query. I tried testing the connectivity using the following ways: (1) telnet (2) Using OSAGENT But, still not able to connect. I would like to know how a request to an Application server will be processed in the Application server. What are all the ports it ... |
Hello everybody, Please bear with me if my question sounds really basic, I'm absolutely new to java Ok, here it goes what i'm trying to do..... I wanting to start the matengine(Matlab) on another machine which is in the same network.Ip-adress and port no would be the inputs in-order to get connected to that machine.I'm able to start matlab(matengine) on my ... |
Hi ajay, Private messages aren't meant to use for followups. Since there isn't private content, I allow myself to cite your mail here. Note: a) Other people might have similiar questions and can be interested in the thread - b) Other people might have better answers than me. This is with refrence to my question on Javaranch, what i want is ... |
|
|
I am asking this again since I got no response yet. I am stuck on this problem so please help if you only can... I am running my java code on one remote server (lets call it provider_1.com), they provide me with an smtp server access but they limit the amount of emails i can send per day, so I cannot ... |
Hi all, I am coding video conferencing software. I am using RTP manager to send the video. But the class I am using is asking the remote IP address. But as you all know we dont get the real IP address in the Internet. So can any one tell me how can I send my video stream through the Internet? Thank ... |
|
Hi, We in the process of writting some custom script which can Start/Stop a window services, Problem is our code is not local to the machine on which we need to Start/Stop a window service, To make thing clearer, we have 2 servers condered it A and B. Our Java code is on Server A which need to Stop/Start a Window ... |
In Java5 the JConsole uses new (and old?) APIs to get things like the following. You should be able to use them, too. I chopped this up a bit because it was over 4k characters wide ... VM Information Java Virtual Machine: Java HotSpot(TM) Client VM version 1.5.0-b64 Vendor: Sun Microsystems Inc. Uptime: 8 days 4 hours 1 minute Name: 2052@servernameelided ... |
Hi Joe! Thanks for reminding me. Actually I want to create java search engine in a web application which can search a String inside file present in the same as well as remote web server.What i want to know is -how we can search in a remote server.I am not getting any idea.Is there any way if we know remote server's ... |
|
|
Why do you think that you are binding to port 0? The ServerSocket constructor: ServerSocket(int port, int backlog, InetAddress bindAddr) The integer value 0 is the backlog, which is the connection queue. It has nothing to do with ports. the port is the local port for the process running the server and is the remote port for the client. In the ... |
|
I have some experience with java but have not used it much lately. I have a task where I have to monitor a process running on a UNIX server (server1) from a different UNIX server (server2). If the process on server1 is no longer running, I have to start the same process on server2. That is the only requirement at this ... |
|
Hi, I am just playing around with JBoss Remoting - I have managed to successfully call a ProviderInterfaces Methods. However now I would like to use the provider interface to return different Services to the Client. For this I have made a new Interface for the Service and the corresponding Implementation on the Server - MedicalProviderInterface + MedicalProviderImpl The ServiceProvider has ... |
|
Hi all, 1) I use JSch [Java Secure Channel] to connect to my remote host. I am able to connect and execute unix commands using this. But for certain commands, I get error such as Null Pointer Exception. But, when I debug the same, it gets executed and displays the output properly. So, I guess, the time delay in executing the ... |
|
Hi All, I am getting Error 400 - Proxy Error: remote host didn't send any data. In our application, we can download files by clicking on download link which has 2 options. i.e. 1. download by excel 2. download by ODS format (Open document spreadsheet). When the file size is lesser, then both the download option is working fine. When the ... |
Hi Friends, I have developed a java application. When I directly run the application from the command prompt, it gets connected to the remote server through sockets. But when I embed this application into html file, then I am unable to connect to the remote server. Can anyone of tell me why is it so? Also I shall be happy to ... |