aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes Need to know from where to start - some tutorials, links? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Need to know from where to start - some tutorials, links?" Watch "Need to know from where to start - some tutorials, links?" New topic
Author

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

Chan Ag
Bartender

Joined: Sep 06, 2012
Posts: 1049
    
  15
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
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
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.


Ping & DNS - my free Android networking tools app
Chan Ag
Bartender

Joined: Sep 06, 2012
Posts: 1049
    
  15
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
Marshal

Joined: Mar 22, 2005
Posts: 42592
    
  65
GUIs have nothing to do with networking.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to know from where to start - some tutorials, links?