4 Replies - 4304 Views - Last Post: 18 July 2011 - 01:48 AM Rate Topic: -----

#1 MBT7  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 21
  • Joined: 08-April 11

How to write server-Client program in java?

Posted 17 July 2011 - 02:46 AM

Hi
how can i write a program that server and client send some information together without waiting for another one?
Is This A Good Question/Topic? 0
  • +

Replies To: How to write server-Client program in java?

#2 kiwi_steve  Icon User is offline

  • D.I.C Head

Reputation: 31
  • View blog
  • Posts: 109
  • Joined: 26-September 09

Re: How to write server-Client program in java?

Posted 17 July 2011 - 03:17 AM

Not really sure what you're asking... but if its 2-way communications then google is your friend:
http://download.orac...ientServer.html

If its something else you are wanting, then you will need to elaborate a bit...

Cheers

Steve
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10392
  • View blog
  • Posts: 38,458
  • Joined: 27-December 08

Re: How to write server-Client program in java?

Posted 17 July 2011 - 09:22 AM

WolfCoder also has a tutorial on this: http://www.dreaminco...-serve-clients/
Was This Post Helpful? 0
  • +
  • -

#4 stackoverflow  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 164
  • View blog
  • Posts: 545
  • Joined: 06-July 11

Re: How to write server-Client program in java?

Posted 17 July 2011 - 10:28 PM

I know it isn't Java-- but Beej's sockets guide for C is probably the best network programming guide I ever read. If you are familiar with C it could help to be familiar with the low level details. Then Java's API will not only make a lot more sense, but you will learn to appreciate how simple Java's API is.
Was This Post Helpful? 1
  • +
  • -

#5 kiwi_steve  Icon User is offline

  • D.I.C Head

Reputation: 31
  • View blog
  • Posts: 109
  • Joined: 26-September 09

Re: How to write server-Client program in java?

Posted 18 July 2011 - 01:48 AM

View Poststackoverflow, on 18 July 2011 - 06:28 PM, said:

I know it isn't Java-- but Beej's sockets guide for C is probably the best network programming guide I ever read. If you are familiar with C it could help to be familiar with the low level details. Then Java's API will not only make a lot more sense, but you will learn to appreciate how simple Java's API is.


Wow thats an awesome read... This guy should write uni textbooks! Got to page 10 before I realised I really should be working on something else right now... but its going into my "eBooks to read"... Its mostly stuff I know so far, but its so well written I want to read it anyway :) Thanks for the link.

Steve
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1