Java communication between machines in PPP/IP protocol?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Java communication between machines in PPP/IP protocol?

  1. #1
    Join Date
    Sep 2002
    Posts
    1

    Lightbulb Java communication between machines in PPP/IP protocol?

    Hi,

    I need to write an application to receive inputs from a remote server. The communication interface between my machine and the remote server is :

    Network : LAN
    Speed : 100 Mbps
    Operating Mode : Synchronous
    Protocol : PPP
    Interface : IP

    I have read that Java Socket classes support TCP/IP protocol, with no mention of PPP. Could anyone please tell me if i can still use Java socket in this context, i.e. with PPP protocol? How about using Java NIO in Java SDK 1.4, what classes should I use then?

    Thanks in advance.

  2. #2
    Join Date
    Aug 2002
    Posts
    94
    Hi,
    just read this as guidance - I am not sure as I have never done anything with protocols in Java.

    PPP - is a "Point to Point" protocol and is used for estalishing connection such as when you dial with your modem or with ADSL or likewise.

    Once a connection is established i.e your machine has an IP munber allocated to it then you can use any of the several hundreds protocols like TCP/IP (it is actually a family of protocol like http, ftp, telnet. finger etc) to create a socket for a particular network functionality like transeferring data, executing commands etc.

    If you are able to establish sockets then you can move on with your code and need not worry about the PPP part.

    Hope this helps
    Pankaj

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center