Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Virtual Desktops and Sockets and Ports and Clients and Servers Question

  1. #1
    Junior Member
    Join Date
    Aug 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Virtual Desktops and Sockets and Ports and Clients and Servers Question

    Hi,

    I have a simple client/server application that I've run for years and years on different platforms (Redhat, Fedora, Windows 7, XP, etc.) and under different version-levels of

    Java. The client and server threads (in this case, reminder-messages being displayed at the appropriate time) communicate via a port and socket.

    The socket connection uses one of the available ports on that desktop machine.
    (And that port number can be assigned to an environment variable or to an init file)

    socket = new Socket(address, int-port-number);

    And also, the address is not assigned or used.
    It's just a new String().

    I'm dragged kicking and screaming into the new age we all live in, and thrust into virtual desktops.
    One is Windows and one is Linux, but neither can use a socket/port like this anymore.

    Do I now need to use a COM-port-redirector/Virtual-serial-port like socat Project?

    TIA, Matt


  2. #2
    Member planetHollywood's Avatar
    Join Date
    Dec 2013
    Location
    Honolulu
    Posts
    120
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: Virtual Desktops and Sockets and Ports and Clients and Servers Question

    required JVM on the desktop windows OS. Java virtual machine used for java class files.

Similar Threads

  1. Crazy day for servers
    By aussiemcgr in forum Totally Off Topic
    Replies: 7
    Last Post: October 3rd, 2013, 13:58
  2. Timed thread to poll servers
    By rockking8350 in forum Java Networking
    Replies: 16
    Last Post: April 7th, 2013, 19:41
  3. Question about java Sockets and IOStreams
    By anon176 in forum Java Theory & Questions
    Replies: 0
    Last Post: November 17th, 2012, 10:08
  4. Can multiple servers share one RMI Registry?
    By vavavoom in forum What's Wrong With My Code?
    Replies: 0
    Last Post: December 2nd, 2011, 11:12
  5. File Servers and Java
    By Satch in forum Java Networking
    Replies: 0
    Last Post: December 19th, 2010, 23:25