> Wouter van Ooijen wrote: > >> I understood it would work way up into 3 digit port numbers. IIRC the = > >> maximum number of COM ports is 256! > >> = > > > > I am up to COM152 at the moment :) > > > > = > Don't run my son's Java app then. He stupidly enumerates the ports and = > then attaches to the lowest valid one by default. This worked fine on = > his desktop (one real Serial port and one fictitious com2, no header) = > and his laptop (one USB serial adaptor). > = > On my laptop it took 3 mins (real + USB serial + IR x 2 kinds on one = > physical IR port + Bluetooth + TCP/IP serial + USB Modem "serials", and = > virtual loopback serials to interconnect applications). So I guess = > maybe 10min to 25min on your system! > = > I told him there is a good reason everyone else just has a blind list = > and up to user to figure via utilities or device manager what COMx = > the Bluetooth, USB, or remote TCP/IP serial port server box is. > = I found that when adding bluetooth devices to the PC, it can take a long ti= me = for the OS to try to open a port. Even if there is no BT device registered = with = this port at the moment it takes a long time for the BT drivers to realise = that. The BT drivers also seems to add a lot of virtual serial ports which = is = why this can take a very long time. /Ruben =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Ruben J=F6nsson AB Liros Electronic Box 9124, 200 39 Malm=F6, Sweden TEL INT +46 40142078 FAX INT +46 40947388 ruben@pp.sbbs.se =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist