Hi everyone
I want to ask u a very important question. I dont have an idea regarding how i can detect a hardware attached to my system through a java programe.
Acctually i want to detect a GSM modem through my programme so that my system becomes a server and the mobile cell phones can access its database
by sending a message to my server.
Please reply
Rgds.
User Profile
Collapse
-
You are doing very good.
But what i want to do is that i want my application to detect the hardware itself so that it will work properly.
Can't i detect what kind of hardware is attached to my system on a particular port. cause this is gonna make my app. more useable.
Reply
Regds -
Thanks for really bright suggestions.
I want to ask u a very important question. I dont have an idea regarding how i can detect a hardware attached to my system through a java programe.
Acctually i want to detect a GSM modem through my programme so that my system becomes a server and the mobile cell phones can access its database
by sending a message to my server.
Please reply
Rgds.Leave a comment:
-
-
Hardware detection through a java programme
Hi everyone
I have a query that how can i detect a modem through a java programme. -
Thanks for really bright suggestions.
I want to ask u a very important question. I dont have an idea regarding how i can detect a hardware attached to my system through a java programe.
Acctually i want to detect a GSM modem through my programme so that my system becomes a server and the mobile cell phones can access its database
by sending a message to my server.
Please reply
Rgds.Leave a comment:
-
Did u notice that i have declared the constructor of the class as Synchronized.
This was because i want either the server or the log file to access the data from the client at one time.
Can u suggest me wat would i have to do when multiple clients log on to the sever.
Regards...Leave a comment:
-
-
Thanks for replying again.
GOOD NEWS : I got the class compiled.
The mistake i was doing was that i wasnt passing the value of the argument of the constructor to a local instance variable. and it was giving me an error msg "Go Hang Yourself".
But now i have made that change. The New code looks like this:
...Code:import java.io.*; import java.net.*; public class socketReader
Leave a comment:
-
Thanks for replying!!
The error msg that i recieve is that:
illegal start of expression in public void run(). It points on the public....Leave a comment:
-
Server and Log File
Hi there
I am developing a client/server app in Java. I have created a client and a server
via the java.net package. But now i want that ach time the client logs on to the server, a log file is created.
For this i created another class that is used only to read data from the cilent socket and implemented runnable in this class.
Now this reading class is called "SocketRead er", and is coded as follows:...
No activity results to display
Show More
Leave a comment: