Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need to know from where to start - some tutorials, links?

 
Chan Ag
Rancher
Posts: 1089
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Greetings,

This is my first post in the Sockets and Internet Protocol forum. I'm a beginner who just knows ( perhaps partially ) what a server is, what a socket is, what a network connection is, what a protocol is. But that's just all about it. I know what they mean individually but I have no idea how they function together. If at all I have some ideas, they are sort of vague. I wanna acquire a basic understanding of how these things work together at the network IO level. If I have to write a simple network I/O application, what would be my steps, challenges, and such things...

Do you have some basic tutorial or a link that I could refer to. If you have some theory-based tutorial that uses short code examples to emphasize the points made, it'd be great. That sort of thing works very well with me. :-)

I do not know what all topics I should read about or what APIs I should refer to. Could you please give me some pointers on that too?

Thanks,
Chan.


 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As is so often the case, the java Tutorial is a good starting point: http://docs.oracle.com/javase/tutorial/networking/index.html. The chapter on sockets gets you all the way to a functioning pair of client/server programs. The chapter on datagrams is perhaps less relevant - they're rarely used in Java code.
 
Chan Ag
Rancher
Posts: 1089
14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, Ulf. One more question - Do network programmers need to know Swing basics? I mean is the knowledge of graphics component a prerequisite to be able to write simple/decent network programming code?

 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
GUIs have nothing to do with networking.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic