View RSS Feed

sixxvirus

  1. My Goal

    by , 05-20-2012 at 07:30 AM
    Some people on this site may not like how I am posting on this site and for that I am sorry. I am not very good at forums, but my goal not with just this site but with my career in computer science using networking is the follow that I have typed out...

    I want to go all the way down the Networking programming rabbit hole, I want to learn everything I can about computer science, programming, and the world inside of the internet. I have choose Java to do this because I like the syntax ...
    Categories
    Uncategorized
  2. Get the info of a socket

    by , 05-16-2012 at 12:50 AM
    This program reads a list of hostnames from the command-line, attempts to open a socket to each host, and then prints to the remote host, the remote port, and the local address, and the local port.

    ** Happy Coding**

    /* SocketInfo.java
    * Get the info of a socket
    */
    import java.net.*;
    import java.io.*;
    public class SocketInfo{
    public static void main(String[] args){
    for(int index=0; index<args.length; index++){ ...