Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Where can I find resources on how to write Sockets/ServerSockets

socket serversocket

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1 Chall


    CC Addict

  • Senior Member
  • PipPipPipPipPip
  • 349 posts

Posted 09 October 2014 - 06:11 PM

YES, I know they already exist, and work fine, but I feel you just don't learn as much as you could by just accepting that they work. The real learning experience is learning HOW they work, and are designed. So, on that note, does anyone know where I can find resources on this? Even just the source code for them would do. Just something so I can read it and figure out how it ticks.

Speaks fluent Java

#2 WingedPanther73


    A spammer's worst nightmare

  • Moderator
  • 17757 posts

Posted 10 October 2014 - 04:09 AM

The short answer is that the Java Runtime will call the underlying OS socket implementation to do the work. So HOW they work depends on the underlying OS and how it's libraries were written, generally in C.

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/

#3 BlackRabbit


    CodeCall Legend

  • Expert Member
  • PipPipPipPipPipPipPipPip
  • 3871 posts

Posted 10 October 2014 - 04:25 AM

This is the  Java sockets complete Oracle documentation


What exactly do you need? Spy on sockets?

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download