Hi there

I need help!!!!

How do you read and write from an .ini file by using java sockets????

You don't, Use ordinary file I/O.

Read it like a Properties file, you just won't have the section headers like [xxxxx], but all the properties will be read into basically a hashtable.

Properties p = new Properties();
p.load(new FileInputStream("myfile.ini"));

String value = p.getProperty("key");

Thanx guys
Cameron

Thanx guys
Camzie

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.