(David) Rudi Sherry said: >I have a Perl script running on MacPerl on a mac 7300/180 PPC, and I have a >Java applet running on a (plain) Pentium PC (inside the Applet viewer in >Symantec Visual Cafe Web Edition 2.0). The Java applet opens a >ServerSocket, and the MacPerl script opens a regular socket to connect. [and it doesn't work] I can't solve your problem, but having done networking in MacPerl and Java, I have some thoughts: 1) Remember that Macs and PCs define lines differently. Are you dealing with the \x0D vs \x0D\x0A issue? 2) I have found Java I/O much buggier than (Mac)Perl I/O, so would tend to look at the Java code first. I specifically recall reading about bugs with line reading in some Java libraries. 3) A possibly useful experiment would be to test your Perl code against a Web server and your Java server with some other client. Ideally, you would want to use a Web server running on the PC, but any one would do; you will probably have to reset the port in your MacPerl code or on the server, of course. To test the Java code, telnet might work. It might be interesting to test from a telnet client on the PC and one on the Mac. This might help identify newline issues. Hope some of this rambling helps! -David- David Steffen, Ph.D. President, Biomedical Computing, Inc. <http://www.biomedcomp.com/> Phone: (713) 610-9770 FAX: (713) 610-9769 E-mail: steffen@biomedcomp.com ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org