Re: Network event listener?

From: Randolf Richardson (rr_at_8x.ca)
Date: 02/03/05


Date: Thu, 03 Feb 2005 18:54:05 GMT


"Neil Cherry <njc@wolfgang.uucp>" wrote in comp.lang.java:

> I have to modifiy a program which uses a serial interface and event
> listeners. The modification entails adding support for connecting to a
> terminal server via an IP address and port number instead of the com
> port. Is it possible (reasonable?) to create a network event listener?
> From what I've been able to google that it may not possible or
> reasonable to do. Is there some other way to accomplish the same thing
> without rewriting the entire program?

            I will be starting some TCP socket programming in Java later on this
year, and the direction I would look for a solution is something that works
very much like a BSD Socket "select()" function.

            I took a quick look at the Java API documentation on Sun's web site for
this, but didn't find anything -- perhaps I'm not looking the right places
(any hints from other developers would be greatly appreciated).

-- 
Randolf Richardson, pro-active spam fighter - rr@8x.ca
Vancouver, British Columbia, Canada
Sending eMail to other SMTP servers is a privilege.


Relevant Pages

  • Re: What is the best GPS Plotter to buy
    ... Meindert on the net is the manufacturer of a nice NMEA multiplexer. ... manufacturer stuff to connect just to one port. ... Just feed each device into a terminal server port and go from ... is a terminal server using tcp/ip a serial connection to the source of the NMEA output that connects to more RS232 ports, that is...is it a piece of hardware that is a serial port connecting cable that "branches" into a module having any number of additional serial ports, and whose original single input signal is then available for "processing" on each of the module's additional connecting devices? ...
    (rec.boats.cruising)
  • SUMMARY: Remote console access using Lantronix
    ... Direct login on the terminal server using, connecting to a specific ... optional terminal server access password) ... Connecting by telnet to a service assigned to a serial port (no ...
    (Tru64-UNIX-Managers)
  • Terminal Server in port 80
    ... I've changed the terminal server listening port and redirected the 80 to my ... server on the ADSL router. ... It works perfectly connecting from dialing connection with modem and gprs, ...
    (microsoft.public.windows.server.networking)
  • Network event listener?
    ... listeners. ... The modification entails adding support for connecting to a ... terminal server via an IP address and port number instead of the com ...
    (comp.lang.java)
  • Network event listener?
    ... listeners. ... The modification entails adding support for connecting to a ... terminal server via an IP address and port number instead of the com ...
    (comp.lang.java.help)