Stella
Stella

Reputation: 1868

Java-Server: Create and run Java socket server on Mac?

I am trying to create a java socket server listener on Mac 10.6. iOS client will be accessing it through socket connection. I don't know, how to create and run such socket server on Mac. I got sample source from Java tutorials, i want to use the same code as it is to create new java socket server program on Mac.

Java socket server tutorial

I have Eclipse installed. How do I create and run a java socket program using the java tutorial code mentioned in the above link on a mac machine? I am new to this and not getting the basic steps involved on this. Please help.

Another sample link

Upvotes: 1

Views: 2093

Answers (1)

AlfredoCasado
AlfredoCasado

Reputation: 818

You can create a simple java program with the code from this tutorials and run it. Its the same for mac that for windows or linux.

Perhaps you need first to understand how a simple java program works, if you are using eclipse take a look at this: http://oak.cs.ucla.edu/cs144/projects/eclipse/windows.html or find other java basic tutorials on the net, there are a lot.

Upvotes: 1

Related Questions