Java Networking Assistance Needed

Is there a way for Java applications to be able to use the underlying networks QoS parameters?

You may wish to look at the new traffic class features in 1.4. A good place to start in the API may be the setTrafficClass() method in the "Socket" class.

Similar Messages

  • WRT54GS network assistance needed! Help!

    I really need some help understanding network terms. I just setup my WRT54GS using tips I collected from these forums. I changed the IP address to 192.168.2.1 and cloned the MAC address to my PC. My main PC has my DSL modem>WRT54>PC LAN which connects perfectly to the internet. This is where my problems/network understanding starts. I have SSID name and WEP security setup using the router. Other than internet none of my other 2 computers wireless (Laptop& a HTPC) are recognized for file/printer sharing amongst the entire group. All computers have file/printer sharing enabled. I have run the network setup wizards on the PC many times and named it differently each time for ID purposes. I enabled security on some and left others disabled, but no where on the PC can I find where these networks exist. In addition when I turn on my laptop I
     find most of the networks I created as available connections. My main PC doesn’t see my linksys nor will find my HP Ethernet printer connected to the WRT54. Please help!

    Disable all the firewalls on the computer even the windows firewalls and make sure that the workgruop is same for all the computers.

  • Cisco Network Assistant, unable to add a switch

    I have a network running some 20 switches, two controllers and many AP's.  All the devices that should be able to connect to cisco network assistant can successfully.  However there is one switch that will show in neighbours but will give the message of “unable to connect to device” when I try and add it to the topology. 
    As far as I can see the config is identically to all other similar switches in the network.  I can telnet from a switch (management VLAN) to the switch in question.  However when I try to ping or telnet from the PC running network assistant (different subnet) I am unsuccessful.  However I can ping/telnet to all other cisco device from this PC. 
    The switch is a WS-C3560-48TS and I have included the config for firstly the switch in question and another switch of the same model and config that works correctly.  Any help would be greatly appreciated, thank you.    
    sho run
    Building configuration...
    Current configuration : 7363 bytes
    version 12.2
    no service pad
    service timestamps debug datetime localtime
    service timestamps log datetime localtime
    service password-encryption
    hostname wc3_switch_1
    enable secret 5 $1$Fn0U$2rG6DadA8JSUzQzSNmMc4/
    enable password 7 1511021F0725
    username dis privilege 15 secret 5 $1$b3d.$S43CM1xtXyEtO5Rsil6Bn1
    username admin privilege 15 password 7 0811185C224C543341
    no aaa new-model
    ip subnet-zero
    ip routing
    no ip domain-lookup
    no file verify auto
    spanning-tree mode pvst
    spanning-tree extend system-id
    vlan internal allocation policy ascending
    interface FastEthernet0/1
    description ### Connected to Parkside-AP05 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/2
    description ### Connected to Parkside-AP06 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/3
    description ### Connected to Parkside-AP07 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/4
    description ### Connected to Parkside-AP08 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/5
    description ### Connected to Parkside-AP12 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/6
    description ### Connected to Parkside-AP13 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/7
    description ### Connected to Parkside-AP20 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/8
    description ### Connected to Parkside-AP21 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/9
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/10
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/11
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/12
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/13
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/14
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/15
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/16
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/17
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/18
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/19
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/20
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/21
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/22
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/23
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/24
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/25
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/26
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/27
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/28
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/29
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/30
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/31
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/32
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/33
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/34
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/35
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/36
    description ### Connected to Parkside-AP36 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/37
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/38
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/39
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/40
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/41
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/42
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/43
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/44
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/45
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/46
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/47
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/48
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface GigabitEthernet0/1
    description *** Connected to WC2A_Core_Switch ***
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface GigabitEthernet0/2
    description *** Connected to wc3_switch_2 ***
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface GigabitEthernet0/3
    shutdown
    interface GigabitEthernet0/4
    shutdown
    interface Vlan1
    ip address 10.0.0.31 255.255.255.0
    ip default-gateway 10.0.0.254
    ip classless
    ip http server
    control-plane
    line con 0
    password 7 144711185D07
    logging synchronous
    login local
    line vty 0 4
    password 7 144711185D07
    logging synchronous
    login local
    line vty 5 15
    password 7 094F471A1A0A
    no login
    end
    wc3_switch_2#sho run
    Building configuration...
    Current configuration : 7239 bytes
    version 12.2
    no service pad
    service timestamps debug datetime localtime
    service timestamps log datetime localtime
    service password-encryption
    hostname wc3_switch_2
    enable secret 5 $1$Sfoj$a6AdO7PI0bP8ERhpWl3OP.
    username dis privilege 15 secret 5 $1$D9c6$16yFzETOxBNHiPdTEqkxQ1
    username admin privilege 15 password 7 133543002059550E78
    no aaa new-model
    ip subnet-zero
    no ip domain-lookup
    no file verify auto
    spanning-tree mode pvst
    spanning-tree extend system-id
    vlan internal allocation policy ascending
    interface FastEthernet0/1
    description ### Connected to Parkside-AP24 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/2
    description ### Connected to Parkside-AP27 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/3
    description ### Connected to Parkside-AP28 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/4
    description ### Connected to Parkside-AP30 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/5
    description ### Connected to Parkside-AP31 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/6
    description ### Connected to Parkside-AP32 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/7
    description ### Connected to Parkside-AP33 ###
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/8
    description *** Curric4 VLAN Port ***
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface FastEthernet0/9
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/10
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/11
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/12
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/13
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/14
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/15
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/16
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/17
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/18
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/19
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/20
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/21
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/22
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/23
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/24
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/25
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/26
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/27
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/28
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/29
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/30
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/31
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/32
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/33
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/34
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/35
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/36
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/37
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/38
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/39
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/40
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/41
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/42
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/43
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/44
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/45
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/46
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/47
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface FastEthernet0/48
    description *** Curric4 VLAN Port ***
    switchport access vlan 6
    spanning-tree portfast
    interface GigabitEthernet0/1
    description *** Connected to wc3_switch_1 ***
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface GigabitEthernet0/2
    description *** Connected to wc3_switch_3 ***
    switchport trunk encapsulation dot1q
    switchport mode trunk
    spanning-tree portfast
    interface GigabitEthernet0/3
    shutdown
    interface GigabitEthernet0/4
    shutdown
    interface Vlan1
    ip address 10.0.0.32 255.255.255.0
    ip default-gateway 10.0.0.254
    ip classless
    ip http server
    control-plane
    line con 0
    password 7 135514015A0F
    logging synchronous
    login local
    line vty 0 4
    password 7 135514015A0F
    logging synchronous
    login local
    line vty 5 15
    no login
    end

    The switch configurations look pretty straightforward and mostly correct.
    I notice that the problem switch has "ip routing" global command. Why is that necessary? You are only using it as a L2 switch, yes?  If you use "ip routing" and have no routing process (ospf, eigrp, etc.) running you would need to add a static default route (ip route 0.0.0.0 etc.) and not use the "ip default-gateway" command. Otherwise the switch itself (the SVI) does not know how to leave the management VLAN routing-wise since it is the only L3 interface defined.
    (I might also add "ip http authentication local" on each and I'd definitely disable telnet in favor of ssh)

  • Newbie question on JAVA networking

    Hi,
    I'm newbie on JAVA networking. Can anyone guide me to do a task to :
    read the TCP/IP packets which are sent from a specific host to another host? I need to capture the packets and analyse the contents.
    thanks in advance,
    jackling

    Well I've search google for a low level TCP api, but I came up with absolutely no results. So I guess the only way would be to write your own native API (using C/C++) and call this through the Java Native Interface.

  • Java networking library with RMI-like functionality?

    Is anyone aware of a Java networking library, that provides RMI like functionality and TCP/IP with an intuitive API and minimal coding required? I'm working on a prototype, but I'm having difficulty getting Java's RMI functionality working through Netbeans, so while I'm prototyping I'm looking for alternatives so I can code more and frustrate less!
    Thanks

    BobCrivens wrote:
    Thanks ejp.
    I guess I'll re-phrase the original question. Is there a small open-source Java networking library that doesn't include RMI, but gives a simple API for TCP/IP connections (higher level than sockets) and includes file transfer? I don't know if I need things like FTP/HTTP/POP/SMTP support etc for now.
    ThanksI gotta be honest with you here. I think you need to stop coding for now and get your requirements in hand with a better grasp on how network programming works.
    Not being insulting here but your questions show your current knowledge level on the subject to be not really sufficient for success with whatever it is you want to do.
    There is the networking tutorial available here http://java.sun.com/docs/books/tutorial/networking/index.html but it might do you well to tell us exactly what you are trying to do. Are you trying to build an FTP client? Are you trying to build a whole client/server program of some sort?
    Because everything now is very vague. You seem to be looking for protocols or API's between TCP and things like FTP for example and none exist because these sit directly on top of TCP. So you either deal directly with the Sockets or you deal with some library that deals with the protocol in question. There isn't an "in-between" layer here.

  • Wrong Port Statistics in Cisco Network Assistant

    Hello,
    I'm having some troubles with CNA (version 6.0). There's a few switches in the network that displays wrong information about sports activities/statistics. I've got some ports administratively down, without activity, however CNA is showing Tx and Rx rates, etc. I've already cleared counters from the application and from CLI too. If I do "show interface Gix/x/x" in the CLI, it returns results that I waited, but not in CNA, where it's showing wrong information. Moreover, some ports which should have activity and statistics, don't displays info. All rates and statistics shows 0 when I'd must see any number except 0.
    I'm talking about a stack with 3 Catalyst 3750-X 48P.
    Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.0(2)SE5, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2013 by Cisco Systems, Inc.
    Compiled Fri 25-Oct-13 12:38 by prod_rel_team
    ROM: Bootstrap program is C3750E boot loader
    BOOTLDR: C3750E Boot Loader (C3750X-HBOOT-M) Version 12.2(53r)SE2, RELEASE SOFTWARE (fc1)
    Thanks,
    Kind regards,

    In Cisco Network Assistant, under smart ports, if I configure the switch port as Cisco Wireless/Router, it hard  codes the interface as Trunk.In this particular case what is the reason for hard coding it as trunk?
    When you are dealing with autonomous wireless access point, it's very common to have mutiple VLANs configured in the WAP, therefore you need a Trunk switch port.
    You can also configure the trunk port to allow VLANs of your choice.

  • Where can I find knowledge about "java network programming"?

    I am interested in network programming in java. I need some documents and I don't where can I find it?

    http://java.sun.com/docs/books/tutorial/networking/index.html

  • Network Assistant

    I'm looking to download network assistant 5.0 but not able to find the download link, and is network assistant still a free download and if so do you have the download link. thanks for any help on this.

    Yes, Cisco Network Assistant is still free. You will need to register for a guest CCO account before you can download it though. You can register for a CCO login at http://tools.cisco.com/RPF/register/register.do.
    Follow the "Lastest Cisco Network Assistant" link at http://www.cisco.com/pcgi-bin/tablebuild.pl?topic=279230132
    You will be asked to authenticate with the CCO username and password you registered for. Once you have authenticated and see the Downloads page click LAN Network Management > Cisco Network Assistant > Cisco Network Assistant Version 5.0 > 5.1.

  • Are the SG500P SMB switchs supported for Cisco Network Assistant?

    Hi, we need to enroll some SG500-28P switches to a CNA? Is this possible? I suppose that CDP feature allow this. Actually, i have installed CNA Ver. 6.0. Thanks in advance.

    Hello Fernando,
    Thank you for visiting the Cisco Support Community! 
    Here is a list of all the devices supported by the Cisco Network Assistant for the 6.0 version and later. Many of the 500 series switches, including the SG500-28P Managed Switch, are supported by the CNA. This page will also give you any additional information you may need such as the features of the CNA 6.0 version, any system requirements, and more. 
    If this post was helpful, please remember to mark this question as resolved to help others in the community! If you have any further questions, please do not hesitate to ask!
    Best,
    LP

  • Java Networking (AesSoft Ocean2002)

    Hi my name is Donald. I am working on a java based program called Ocean2002. This software will be an entertainment software with games Instant Messanger and more.. I am a beginner with java networking so i need some help with the instent messanger. If anybody has any ideas how can i start an instant messanger based on java please help.
    Thank You!!!

    There are two options, Peer to Perr and client server.
    With a P2P instant messenger, each user will need to know the IP address of another user to contact them. That isn't exactly pretty.
    The client/server approach can be done in 2 ways. The first method is that when a user signs in, the messenger sends the user's IP address up to a server and also asks the server if anyone on the users 'buddy list' is signed in. When a user wants to IM another user, it requests the IP address off of the server and then connects over a predefined port.
    The drawback of this configuration is that firewalls will stop the messenger from wroking.
    The second client/server approach will have the server manage not only a mapping of users to IP's but will actually handle routing the messages. This is basically a Chat room implementation but with a thick client. Each client messenger will periodically pool the server for new messages. Once a new message arives, it will probably be most effecient if the client and the server will hold onto a constant connection until a certain time limit has expired (the conversation has 'ended').
    Basically, the server (server meaning anyone listening for a connection such as someone listening for the phone to ring) uses this:
    ServerSocket ss = new ServerSocket(1234); //Port number
    Socket s = ss.accept(); // actual communcations happen over the Socket s.The client (the one making the phone call) will look like this:
    Socket s = new Socket(InetAddress.getByName("12.34.56.78"),1234); //Connect to the other box
    //All communication will happen over the Socket sAll of the above classes are in java.net. Look at the Socket class to see how to get your input and output streams.

  • Java networking Documentation?

    can some1 provide me a link or a site that has documentation about java networking packages and classes? i am subscribed to a virtual library but the latest java networking book is from 2000(too old) and i have found individual documentation about corba,rmi or sockets for example, but not a good source of information that englobes and link java networking topics, all is about web services,j2ee,etc.
    i am lost here, =(

    >
    can some1 provide me a link or a site that has
    documentation about java networking packages and
    classes? i am subscribed to a virtual library but the
    latest java networking book is from 2000(too old) and
    i have found individual documentation about corba,rmi
    or sockets for example, but not a good source of
    information that englobes and link java networking
    topics, all is about web services,j2ee,etc.
    i am lost here, =(Most of the docs from 2000 are still somewhat relevant.
    These are all of the base networking classes included with Java.
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/package-frame.html
    What exactly do you need to do with the network?

  • Cisco Network Assistant doesn't start correctly

    Hi!
    A bit of background:
    We've been replacing our 'old' Catalyst 3550 boxes with 3750 Switches, and since the web-interface on these are 'a bit lacking' in functionality(to say the least), we figured that CNA(downloaded latest version) would be just the thing...
    Except, when we try to start it, we get this message:
    Read/write access problems:
    Ingen tilgang
    =======================================
    Note: Read/write access is required for user home directory and installation directory:
    C:\Documents and Settings\BOFH
    C:\Programfiler\Cisco Systems\Cisco Network Assistant
    =======================================
    'Ingen adgang' is Norwegian for 'No access'.
    Also, I've altered my profile name in the message(No need to give away login name, is there? :-)
    Now, my PC is set up according to 'best practices' for a SECURE NETWORKED PC In an office environment.
    In other words, my user doesn't have write access to any folder in the %Program Files% areas, and that's the way we like to keep it...
    So, Who goofed up the software, and how do I get around it without compromising the security of my PC?

    That is NOT a solution.
    The reason why a user shouldn't have write access to the \program files\ folder is that it contains EXECUTABLE BINARIES, which many virii likes to infect.
    Moving the install to another folder and giving a user write access to that just moves the problem to another place.
    What COULD help is a list of subfolders(which doesn't contain binaries or other easily-infected files) or files which the program needs to have write access to, or an updated version which stores its config data somewhere else...

  • Network assistant launches every time I restart

    Can anyone tell me why the network assistant launches every time I restart my computer?  I am already connected to my wireless network so I'm not really sure why it needs to create a new location every time. 
    thanks

    Dealing With The Resume Feature of Lion
    Managing Mac OS X Lion's application resume feature.
    If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
    It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
    If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
    chflags nohidden ~/Library
    Press RETURN. Quit the Terminal application.
    In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
    Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
    The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it.

  • Advanced Java Networking Tutorials

    Hi,
    Can you please give me some links where I can find some Advanced Java Networking Tutorails. The tutors I find in Sun site are not so advanced.
    Thanks
    Joe

    What kind of advanced networking? RMI, Corba, SOAP, ...? Google for tutorials. Plain sockets? After you know the Java socket API you'll need to get into the fine details of TCP, UDP and IP which are mostly language independent.
    There are also books; one is "Fundamental Networking in Java", the author of which regularly hangs in the Java socket programming forum. If you get his book you'll always have someone who can't possibly refuse to help you: "hey ejp, I read your book and I have this problem..." :-)

  • Cisco Network Assistant (CNA) Error: Connect

    Best regards community,
    Please I need your help, I installed Cisco Network Assistant 5.8 (9.1) for manage some catalyst switches as 2950, 2960, 2960S, 2960X, 3750X. I can manage all devices except WS-C2960X-24TS-LL model, I have following message from CNA: "Error: Connect Index: 26, Size:26". This device have same configuration for level 15 access as other devices with user name and password. the catalyst switch IOS version is 15.0(2)EX4
    This problem is about either software or hardware? How can solve?
    Thanks in advance

    You're welcome.
    I know the product team monitor the Network Management Forum. If you post your question there, one of them may pick up on it.
    The CNA support typically lags the new product release by about 4-6 months, sometimes longer depending on how well the hardware product release matches up with the network management product's latest release date. The 2960XR just started shipping in July 2013 so a good guess would be that CNA might support it in the next release (5.9?). That's just a guess though.

Maybe you are looking for