The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
August 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Sockets on MAC OS ???

Posted by George on August 17, 2001 at 2:24 PM

Hey all.
I've not used this Forum before but i hope this will help. I've tried so many forums before but no success.
Now i have an applcation that uses sockets for a connection through Ethernet IP.... Now what the application does is it reads a file that the user chooses. Now this file is about 1M and it contains all bytes. Now i read the file using DataInputStreams, reading 29 bytes at a time, sending each message seperate... Now the user chooses an IP to connect to, which is done through sockets. then the file reads 29 bytes and sends one message at a time. This application runs perfect on Linux and Windows, it takes not more than 1min
to finish the download, but on MAC it takes forever, 10min or more... If anyone has any ideas please let me know. I've been stuck on this issue for a month now. Thanks again...



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us