FASTER VZN 3G VIA MODEM...

please note:  understand that the following is my experience, and i cannot guarantee my actions for others... try at your own risk!  and, btw, i am running windows xp on a pc with 1gb ram...
i tried a few things in the last couple of days that really made a difference in my bandwidth speed and browser speed... both... having exhausted whining about verizon since (my alltel usb huawei ec168 modem) alltel was totally swallowed up in my area... i wondered if i could try a couple of things... chasing suspicions that i have had... ONE, i had been running a free edition antivirus (and a malware software)... i was using a----... so i uninstalled a---- completely... then i installed a-- free edition... WHOA!  my bandwidth speed about doubled, using the same speedtest that i have used for ev er... that's a good thing!  obviously, in my case, a---- must use way more pc resources than a--... speed is what i like!  also, the speed increase shows up on all my fav web sites, and also in my ping tests!  you might think that i was finished and satisfied... well... not exactly!
TWO... being very retired from a long career in computers and electronics... i started looking around for any other things i could try to get even more speed increase... WOW! i actually found something that gave me another speed boost... a free edition software that "gamers" use very often to get the most out of their online play... not being into games... i tried it anywayz... the software is a sort of "game booster", which shuts down a number of microsoft services temporarily, which again, increases speeds... since the pc resources are not held down doing things that are unnecessary... AGAIN... i saw a speed increase... the software i use is a simple install, then uses an easy "ON" and "OFF" switch to first shut down services, then restore them to NORMAL... in my case, i just leave the "game booster" ON!  i haven't seen any problems at all doing things this way...  
i am now a happy 3g camper, i have run the above changes for a couple of days with no problems... a lot of things can effect speeds and stability... looking into your task manager and seeing what the resources are telling you about your pc... good practice, imo!

Thanks so much for your post! I'm sure other users will benefit from your valuable information.

Similar Messages

  • Does my airport have to be connected to the internet via modem  for my mac to see it?

    my imac, macbook, or air wont pic up my airport. should the airport be connected to the internet via modem first?? i have not connected my internet line yet, but once i click on airport utilities it says rescan. all software up to date.  **** i suck at this stuff. thx!

    Yes, The phone needs an active data connection, either through WiFi or Cellular data. 

  • Connecting iMac with Mac OS X Tiger to an HPC with Windows CE via modem

    Hi,
    I have an iMac G3 DV 400MHZ with Mac OS X Tiger 10.4.6 and a Compaq C140 HPC with Windows CE 1.0. I dont have the original serial cable for the device and therefore cant connect it to my iMac (like its Mac compatible anyway!) I want to connect it to my iMac via modems (no not ethernet modems the antique modems with the phone wires!) so I can transfer files to it. In case you have never heard of an HPC or Windows CE (which is real similar to Windows 95) lets pretend Im trying to connect a Windows 95 PC to my iMac for file transfer and see if that works.
    Thanks

    Try posting this under hardware section, you will get more response there. I doubt anyone here can help with that.

  • Re: Connecting environments via modem

    John,
    The circumstance surrounding your question (namely a modem)
    suggested the use of 'Disconnected clients' or 'Nomadic clients.
    So I'll just throw that out just in case you are not aware
    of it.
    Through the use of DistObjectMgr class and the -fs switch, you can
    have a client come up in standalone mode, and only connecting to a
    service object on demand. There is an example on how to do this
    in /install/examples/frame/nomad.pex.
    Lee Wei
    At 10:06 AM 5/19/98 +1000, [email protected] wrote:
    I was just wondering if it was possible to have connected environments over
    a modem, and are there any issues I should address if this is done?
    For instance should service objects be session dialog or message?
    Do I need to do anything special for failover?
    The connection won't be there all of the time, so should we just use
    external connections or connected environments?
    Also, what is the best way to connect via modem? Can forte handle the
    dial-up features or do we need to wrapper some external application?
    Any suggestions would be appreciated,
    John Twomey - CSC Australia
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Couple of thoughts ... some you can immediately dismiss ...
    1. Cert has expired (dismissed I know)
    2. Run the console through an xserver or through the UNIX console to see if you have the same issues.
    3. Check the cn=encryption,cn=config entry's attribute to see if it reads nsSSLClientAuth: allowed. If it reads required - you can ldapmodify it to allowed and restart the server. However this will obviously allow clients to bind in non-SSL fashion - which maybe is ok?
    HTH
    -Chris Larivee

  • Disconnect from WiFi Button in Yosemite (Faster File Transfers via Airdrop)

    Hi all! Just thought I'd share a great new pro-tip I found that's pretty handy.
    Sometimes file transfers through a complex or busy network with a  (think hotel lobby or coffee shop), Airdrop file transfers can run extremely slow vs. it going from computer to computer via no network (Ad Hoc). I was determined to find a work around for disconnecting from a WiFi network without turning off Wifi.
    Anyways, Yosemite introduced a much asked for feature - The disconnect from WiFi button! Just hold down option while you select the WiFi indicator on the menu bar and click disconnect! Your WiFi will continue to be on and it simply won't connect to that network again. If you now search for other computers in AirDrop, it will find them and be a much faster computer to computer connection.

    Testing in a new User will quickly tell you if the problem is system wide or if it's your User's folder that contains the problem.
    CREATE A NEW USER
    Go to System Preferences --> Create a New User in Users & Groups Switch to the New User by logging out/in or use Fast User Switching.
    Enter your Apple ID and password.
    Test Markup in Mail using the iCloud account.
    Continue testing to see what works in the new User.
    Do you still see the issue?
        If yes, then the problem is with your base files.
        If no, then the problem is in your User's folder.
    Finder - my iMac name is - iMacs iMac. All of a sudden it become iMacs iMac (2) and latter iMacs iMac (6). What are these numbers ?
    In System Preferences > Sharing you can see name. When Finder adds a number it indicates it's seeing another drive with the same name. You can select to rename but this could also be an indication of issues at the base level.
    Do you have an external drive that could be used to clone your drive in case you need to do a clean install?

  • Fast file transfer via sockets

    Hi,
    I have made little program that sends files via lan to my other computer using sockets (ServerSocket and Socket). When I code my program to use only FileInputStream and FileOutputStream throught the sockets I get only speed about 100Kbs even when I run them in localhost.
    I would really like to have examples of faster way to send and receive files throught sockets? Any samples using buffers or compressing data would be very nice. Thank you very much in advance!
    Sincerely,
    Lauri Lehtinen

    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.ServerSocket;
    import java.net.Socket;
    * FileServer.java
    * Created on January 18, 2005, 2:21 PM
    * @author  Ian Schneider
    public class FileServer {
        static class Server {
            Socket client;
            public Server() throws Exception {
                ServerSocket s = new ServerSocket(12345);
                while (true) {
                    client = s.accept();
                    File dest = new File(System.getProperty("java.io.tmpdir"),"transfer.tmp");
                    InputStream data = client.getInputStream();
                    OutputStream out = new FileOutputStream(dest);
                    byte[] bytes = new byte[1024];
                    int l = 0;
                    int cnt = 0;
                    long time = System.currentTimeMillis();
                    while ( (l = data.read(bytes)) >= 0) {
                        cnt += l;
                        out.write(bytes,0, l);
                    int kb = cnt / 1024;
                    int sec = (int) (System.currentTimeMillis() - time) / 1000;
                    System.out.println("transfered " + kb/sec);
                    out.flush();
                    out.close();
                    client.close();
        static void writeToServer(String fileName) throws Exception {
            Socket s = new Socket("localhost",12345);
            OutputStream out = s.getOutputStream();
            FileInputStream in = new FileInputStream(fileName);
            byte[] bytes = new byte[1024];
            int l = 0;
            while ( (l = in.read(bytes)) >= 0) {
                out.write(bytes,0,l);
            out.flush();
            out.close();
            in.close();
        public static final void main(String[] args) throws Exception {
            if (args[0].equals("server")) {
                new Server();
            } else {
                writeToServer(args[1]);
    }You may see improvements by buffering these. I didn't bother testing.

  • Access via Modem

    I have a portable scanner that stores the scans, then transmits them via a dial-up modem to any email address. Of course, I normally send them to my own address, but it has been a couple of years since I've used the scanner.
    The current problem is that the scanner modem fails to authenticate with the BT Server when dialling in.
    I've been given the correct (up to date) number of 0845 756 0000, and the modem seems to get past the initial stage, but the error message says that authentication has failed.
    The software in the scanner says it auto-negotiates with the Server, so I don't have to designate the ISP Server Name etc, but it seems the only thing I have left to try is to manually set up the dial-in details, rather than let the (possibly obsolete) software in the scanner do this for me.
    The software has the option for me to manually enter ISP server IP addresses and names, but I don't know what they should be.
    Can anyone help with providing these details, or suggesting where in BT I should ask for them?
    The Broadband helpdesk operators try hard, and in fact gave me the correct phone number, but they seem to struggle to understand queries about dial-in modems, perhaps they don't get many nowadays.
    Thanks.

    Oh Well Done that man!
    It's so long ago I'd forgotten all about a 'number witheld' setting.
    I still haven't reached nirvana, but adding the 1470 prefix has got me past the 'failed authentication' error message.
    There are some progress messages appearing for a tenth of a second, then it stops with "The SMTP Server would not expect your mail". After some 30 seconds all transmission stops, with the error message still displayed.
    I rather like the phrasing 'would not expect', it's almost a very human 'this will be a surprise'!
    As well as a manual setting, this device offers some default automated scripts of Pipex, or Demon, or BTinternet. I've selected BTinternet, and with that I've used the SMTP and POP3 Server names of mail.btinternet.com, just as I have specified in my Outlook account.
    As Server passwords I've tried both the one I normally use to log into my BTYahoo Broadband account, and the 'bt' you suggested. Both get the same response of "The SMTP Server would not expect your mail".
    Network name is either 'Auto' or in the format of an IP address (***.***.***.***). As 'Auto' it's set to 0.0.0.0
    Thanks for pushing me further forward, but I've run out of ideas again!

  • Satellite A60: Cannot connect to internet via modem - no dial-up

    In my Satellite A60, WinXP Home, when I try to connect to the Internet via the Toshiba modem, I get Error 6: invalid handle, and after some attempts I get Error 50: all devices connected / request not supported.
    Device Manager / Network / RAS Async Adapter shows an error (black exclamation point on a yellow field).
    The driver is asyncmac.sys = MS Remote Access serial network driver.
    I have:
    - tried to uninstall RAS Async Adapter, but no chance, says it may be necessary for boot-up
    - uninstalled / re-installed modem
    - updated winXP via windows update
    - updated bios / modem / network drivers from Toshiba
    No luck, the RAS Async Adapter error is still there.
    Any suggestion?
    Thanks
    Alessio - Italy

    I think this problem concerns Windows XP and RAS Async Adapter, not the modem.
    The modem dials correctly the number, negotiates user and password, and then I get the error 6 and 50.
    I found on the internet this tip to uninstall and re-install the RAS Async Adapter:
    http://forums.practicallynetworked.com/showthread.php?t=6781
    I have followed the instructions and executed RArepair.exe.
    It uninstalls and reinstalls the the RAS Async Adapter, but RAS is still in error (yellow field in Device manager).

  • Client Server Via Modem

    I have One Server(database) with two modems and two clients having One modem each.
    Four dedicated Telephone Lines connected.
    How I can configure Forms on Clients to access data from database Server.
    Regards,
    Abid Hussain.

    Eric,
    Calling all CUPS gurus
    worked and stopped working and works again.
    i have a server (CUPS accessed by server:631/faxqueuename) with snow leopard and fax attached - snow leopard machines print to it fine
    i have an Air with Lion (CUPS accessed by localhost:631)and when i add network fax printer and print get "no number" thing
    so i made a printer on localhost with ip address and Fax.ppd
    then I got 2. and now one of them faxes.
    strange thing is there are now two faxes and second one works as you can see.
    Brother_MFC_9840CDW
    Brother MFC-9840CDW
    Brother MFC-9840CDW CUPS
    Idle
    IrisFax
    IrisFax
    iris
    Fax Printer on 172.16.0.1
    Processing
    IrisFax___iris
    IrisFax @ iris
    iris
    Fax Printer
    Processing - "Sending page 3 of 12."

  • Send an email and a pager message via modem

    I would like to send an email and pager message through modem using RS 232 Serial port. How should I do that? Example codes would be appreciated.

    Suna,
    Here is a link to NI Developer Zone examples showing how to use the serial port on an FP-20XX module to control a modem and do file transfers. It includes the LabVIEW code for both the PC and the FP-20XX.
    http://zone.ni.com/devzone/conceptd.nsf/webmain/4B5DC1F4481A33F286256B4A007D0216?OpenDocument
    Regards,
    Aaron

  • Send Fax via Modem (issue)

    Fax issue
    Objective: using OS9, fax a word doc (custom cover page) & a pdf (or multiple individual pdfs)
    Status: lots of hours with no success --trying to locate fax programs, trying to use FAXstf 6 (frustration, seems that it should be easy to fax)
    System/Hardware/Software etc.: Running OS9.2 (as boot) on a MDD, MS Word 2001, Acrobat 5.0 Apple Internal Modem (HCF USB V.90 Data/Fax)
    ======
    FAXstf 6.0.8 actions
    1. drag pdf & word doc to drop icon
    pdf shows up, I click preview, word doc shows up, I click preview, it previews,
    I click cancel, pdf previews but it is blank, I click cancel, window closes,
    error message: Acrobat suddenly quite, type 3 error, suggest restart (or system error)  
    --note disc is in good repair
    2. drag pdf to drop icon
    pdf shows up, I click preview, it previews.. but skewd, text is horizontal and made stretched and shrunk to fit (i.e. text skewd to fit landscape page setup, then placed at 90 degrees)
    3. drag word doc to drop icon
    word doc shows up, I click preview, it previews, I cancel since it won’t let me send from here
    4. drag word doc to drop icon & send
    word doc shows up, I type in # for quick send, click send, fax status box..  dials & sends (looks as though it went through) --have not verified if is was received (to do Monday)
    Main issue
    1. I need to fax word docs with correctly sized pdfs
    Thanks

    Sorry This calls for buying a iMac, MacBook Air, Pro , Or Mac Pro . Sorry the Macintosh is not cutting it for 2013.

  • Remote Dialin via Modem

    I am attempting to set up a US Robotics modem to the console port of a Cisco 837 router. I have gone through the Cabling Guide for Console and AUX Ports guide from Cisco's web site.
    Based on this information I was able to use a Cat5e straight through patch cable and a custom wired DB25 adapter to connect to the router. With this setup I am able to dial in to the modem through my PBX and interface with the router.
    However, I am trying to purchase an off the shelf adapter and cable solution and cannot seem to find the right combination.
    I have tried a CAB-25AS-MMOD adapter with a Cat5e straight through patch cable, a Cat5e crossover patch cable and a CAB-500RJ rolled cable from Cisco. None of these combinations work.
    Am I using the wrong DB25 adapter? Can someone point me in the direction of the part numbers that will allow me do this with off the shelf parts?
    Thanks for the help.
    Sean

    Thanks for the post. What I found out is that the CAB-500RJ was not a rolled cable like I thought or it was manufactured incorrectly. I cut one end of the cable off and put on a new connector in the reverse orientation. I then used this modified cable with the CAB-25AS-MMOD adapter and it worked.

  • Airport Express and a Clearwire wireless modem...

    So, I just got a wireless modem from Clearwire, and it was kind of cool in a plug and play sense and much faster than my DSL modem... I had planned on setting up a wireless network with my downstairs neighbor via my second Airport Express (first one is on my stereo amp and works great) but I'm not sure where to go at this point, the Clearwire modem only has an ethernet out and nothing else. Airport Express has only 1 ethernet port (in? out? I'm used to MIDI). Would connecting the modem ethernet to the Express ethernet, then the Express USB to my G4 allow me to set up a combo connection? And if so, how would I set it up? Any help would be so much appreciated. Thanks, Hmelf1

    hmelf1, Welcome to the discussion area!
    Would connecting the modem ethernet to the Express ethernet, then the Express USB to my G4 allow me to set up a combo connection?
    No. The USB port on the AirPort Express (AX) is only for printing. It does not provide any network connectivity.
    If you must connect your G4 via Ethernet, you must get an inexpensive router (not switch nor hub) and place it between the modem and AX. The AX and G4 would each plug into LAN ports of the router.

  • Mac-to-PC, PC-to-Mac, Modem-to-Modem

    Hi,
    I have a Performa 6400/180 that i use frequently, along with a PC for more advanced tasks. I would like to be able to download files on my PC (because its much faster) then transfer them to my Mac, and vice-versa. I was wondering if there was a way to connect the two directly via modems. Both computers have built in modems. Any ideas?
    -Gil

    If you plan to continue using the 6400 for a while, I'd suggest installing a USB 1.1 PCI card in one of the (2) PCI slots. You have to install a USB 1.1 card and not a USB 2.0 card. While USB 2.0 cards are typically backward-compatible to the slower data transfers of USB 1.1 on pre-OS 10.2.8 Macs, the Performa/Power Mac 6360, 5400, 6400, 5500, and 6500 models can't use USB 2.0 cards because they're multi-bus cards. Each port on a USB 2.0 card is on a separate bus, but these multiple-bus USB 2.0 cards confuse the PCI controller in the Macs that I've listed. Either OS 8.6 or 9.1 has support for USB devices, although the USB support files included with OS 9.1 (available in the OS 9.1 Update) can be used with OS 8.6 for greater compatibility. If you don't already have one, you could check eBay for a used USB 1.1 card. Once it's installed and the USB support drivers are loaded, you can use flash memory drives to quickly transfer files between the 6400 and your PC, because the 6400 can read/write to PC-formatted flash drives.

  • XModem via TCP for Java

    I am sure that many of you experienced developers have read requests in the past concerning implmentation of Ward Christenen's XModem protocol over a TCP socket. If not, well... you are about to...
    This is a major hack... but it is starting to come together... thanks to Fred Potter for his source code to start this project...
    Objective:
    Basically, I want to create a console application which accepts an incoming connection and starts the receive mode for a XModem file transfer. I am using CGTerm (for Commodore retrocomputing) but can test with HyperTerminal as well...
    The user who connects to the server selects SEND and the FILE to send for a XModem file transfer... and the transfer begins...
    The incoming blocks of 128 bytes are written to a file
    After the transfer is over the server disconnects the client terminal.
    Here is what I have so far:
    import java.net.*;
    import java.lang.*;
    import java.io.*;
    // X-Modem Server implementation via TCP/IP socket
    public class XServer {
    public static FileWriter fw;
    public static void main(String[] args) throws IOException {
    // define the file
    try {   
    fw = new FileWriter("filename.txt");
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    int port = Integer.parseInt(args[0]);
    ServerSocket server = new ServerSocket(port);
    System.out.println("X-Server v1.0 - waiting for connection");
    Socket client = server.accept();
    // Handle a connection and exit.
    try {
    InputStream inputStream = client.getInputStream();
    OutputStream outputStream = client.getOutputStream();
    new PrintStream(outputStream).println("Go to send file mode!"); // sent to client
    System.out.println("Ready to receive file via X-Modem...");
    * BEGIN TRANSFER HERE!
    // set the debug flag
    XModem.debug = true;
    * Here we are instantiating a new InputStream that represents the remote
    * file that we are receiving. In this single line we are attempting to
    * start the flow.
    * Behind The Scenes: We're sending a NAK across the serial line repeatedly
    * until we finaly start seeing the data flow. If we don't see the data
    * flow, then we throw an exception.
    System.out.println("Sending NAK to start receive mode...");
    InputStream incomingFile;
    try {
    incomingFile = new XModemRXStream(inputStream, outputStream);
    } catch (IOException e) {
    System.out.println("ERROR! Unable to start file transfer!");
    e.printStackTrace();
    return;
    System.out.println("Starting file transfer...");
    * Here we are reading from the incoming file, byte by byte, and printing out.
    * Behind The Scenes: Internally, the read() method is handling the task of
    * asking for the next data block from the remote computer, processing it (i.e.
    * parsing, running checksums), and then putting it in an internal buffer. Not
    * all calls to read() will request a new data block as each block contains at
    * least 128 bytes of data. Sometimes you will only hit the buffer.
    try {
    for (;;) {
    int c = incomingFile.read();
    if (c==-1)
    break; // End of File
    // print character / byte
    System.out.print(c+",");
    // write to file
    try {       
    //System.out.print(".");
    fw.write(c);
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    } catch (IOException e) {
    System.out.println("error while reading the incoming file.");
    e.printStackTrace();
    return;
    // done
    System.out.println("File sent.");
    new PrintStream(outputStream).println("");
    new PrintStream(outputStream).println("transfer successful!");
    } finally {
    //client.close();
    // save the file
    try {   
    fw.close();
    System.out.println("file saved.");
    } catch (Exception e) {
    System.out.println(e);
    System.exit(0);
    * XModem keeps track of settings that the Receive and Transmit Stream classes will
    * reference.
    * <p>Copyright: Copyright (c) 2004</p>
    * @author Fred Potter
    * @version 0.1
    class XModem {
    public static boolean debug = false;
    * XModemRXStream is an easy to use class for receiving files via the XModem protocol.
    * @author Fred Potter
    * @version 0.1
    class XModemRXStream
    extends InputStream {
    // CONSTANTS
    private static final int SOH = 0x01;
    private static final int EOT = 0x04;
    private static final int ACK = 0x06;
    private static final int NAK = 0x15;
    private static final int CAN = 0x18;
    private static final int CR = 0x0d;
    private static final int LF = 0x0a;
    private static final int EOF = 0x1a;
    // block size - DON'T CHANGE - I toyed with the idea of adding 1K support but the code is NOT there yet.
    private static final int bs = 128;
    // PRIVATE STUFF
    private int ebn; // expected incoming block #
    private byte[] data; // our data buffer
    private int dataPos; // our position with the data buffer
    private InputStream in;
    private OutputStream out;
    * Creates a new InputStream allowing you to read the incoming file. All of the XModem
    * protocol functions are handled transparently.
    * As soon as this class is instantiated, it will attempt to iniatate the transfer
    * with the remote computer - if unsuccessful, an IOException will be thrown. If it
    * is successful, reading may commense.
    * NOTE: It is important not to wait too long in between calls to read() - the remote
    * computer will resend a data block if too much time has passed or even just give up
    * on the transfer altogether.
    * @param in InputStream from Serial Line
    * @param out OutputStream from Serial Line
    public XModemRXStream(InputStream in, OutputStream out) throws
    IOException {
    this.in = in;
    this.out = out;
    // Initiate the receive sequence - basically, we send a NAK until the data
    // starts flowing.
    init:for (int t = 0; t < 10; t++) {
    if (XModem.debug) {
    System.out.println("Waiting for response [ try #" + t + " ]");
    long mark = System.currentTimeMillis();
    out.write(NAK);
    // Frequently check to see if the data is flowing, give up after a couple seconds.
    for (; ; ) {
    if (in.available() > 0) {
    break init;
    try {
    Thread.sleep(10);
    catch (Exception e) {}
    if (System.currentTimeMillis() - mark > 2000) {
    break;
    // We have either successfully negotiated the transfer, OR, it was
    // a failure and timed out. Check in.available() to see if we have incoming
    // bytes and that will be our sign.
    if (in.available() == 0) {
    throw new IOException();
    // Initialize some stuff
    ebn = 1; // the first block we see should be #1
    data = new byte[bs];
    dataPos = bs;
    * Reads the next block of data from the remote computer. Most of the real XModem protocol
    * is encapsulated within this method.
    * @throws IOException
    private synchronized void getNextBlock() throws IOException {
    if (XModem.debug) {
    //System.out.println("Getting block #" + ebn);
    // Read block into buffer. There is a 1 sec timeout for each character,
    // otherwise we NAK and start over.
    byte[] buffer;
    recv:for (; ; ) {
    buffer = new byte[bs + 4];
    for (int t = 0; t < 10; t++) {
    System.out.println("\nReceiving block [ #" + ebn + " ]");
    // Read in block
    buffer = new byte[buffer.length];
    for (int i = 0; i < buffer.length; i++) {
    int b = readTimed(1);
    // if EOT - don't worry about the rest of the block.
    if ( (i == 0) && (b == EOT)) {
    buffer[0] = (byte) (b & 0xff);
    break;
    // if CAN - the other side has cancelled the transfer
    if (b == CAN) {
    throw new IOException("cancelled");
    if (b < 0) {
    if (XModem.debug) {
    System.out.println("Time out... NAK'ing");
    out.write(NAK);
    continue recv;
    else {
    buffer[i] = (byte) (b & 0xFF);
    break;
    int type = buffer[0] & 0xff; // either SOH or EOT
    if (type == EOT) {
    if (XModem.debug) {
    System.out.println("EOT!");
    out.write(ACK);
    break;
    int bn = buffer[1] & 0xff; // block number
    int bnc = buffer[2] & 0xff; // one's complement to block #
    if (
    (bn != ebn) && (bn != (ebn - 1)) ||
    (bn + bnc != 255)) {
    if (XModem.debug) {
    System.out.println("NAK'ing type = " + type + " bn = " + bn +
    " ebn = " +
    ebn + " bnc = " + bnc);
    out.write(NAK);
    continue recv;
    byte chksum = buffer[ (buffer.length - 1)];
    byte echksum = 0;
    for (int i = 3; i < (buffer.length - 1); i++) {
    echksum = (byte) ( ( (echksum & 0xff) + (buffer[i] & 0xff)) & 0xff);
    if (chksum != echksum) {
    out.write(NAK);
    continue recv;
    out.write(ACK);
    if (ebn == 255) {
    ebn = 0;
    else {
    ebn++;
    break;
    // We got our block, now save it in our data buffer.
    data = new byte[bs];
    for (int i = 3; i < (buffer.length - 1); i++) {
    data[(i - 3)] = buffer;
    dataPos = 0;
    public synchronized int read() throws IOException {
    // If at the end of our buffer, refill it.
    if (dataPos == bs) {
    try {
    getNextBlock();
    catch (IOException e) {
    throw new IOException();
    // If we're still at end of buffer, say so.
    if ( dataPos == bs) {
    return -1;
    int d = data[dataPos];
    if (d == EOF)
    return -1;
    dataPos++;
    return d;
    * A wrapper around the native read() call that provides the ability
    * to timeout if no data is available within the specified timeout value.
    * @param timeout timeout value in seconds
    * @throws IOException
    * @return int an integer representing the byte value read.
    private int readTimed(int timeout) throws IOException {
    long start = System.currentTimeMillis();
    for (; ; ) {
    if (in.available() > 0) {
    return (in.read());
    try {
    Thread.sleep(10);
    catch (InterruptedException ex) {
    //if (System.currentTimeMillis() - start > timeout * 1000) {
    if (System.currentTimeMillis() - start > timeout * 5000) {
    return -1;
    Here was the output...
    Original file:
    (Commodore CBM SEQ file exported to PC using DirMaster)
    ��
    � �
    � ��� �� �� ��� ��
    � �� �� ���� �� ��� ��
    � ��� ����������������������������������������������
    �� ����� ������� ����� �� ����� ������ ����� ���
    � �� ������ ������ ��� ��� �� ��� ���� �� ������
    � � ���
    ����
    � � ��OWERED BY �OLOR 64 ��� V8
    �UNNING �ETWORK64 V1.26A

    �UPPORTING 38400 �AUD �ATES
    �����/����/�������

    �ESTING �CHO-�ET V1 BETA

    �EATURING �ESSAGES, �ILES,
    �ET�AIL, AND �NLINE �AMES!
    �YS�P: � � � � � � � � �

    �RESS ANY KEY TO LOGIN\C�
    The result when the file was uploaded and received by my XServer:
    ? ? ??OWERED BY ?OLOR 64 ??? V8
    ?UNNING ?ETWORK64 V1.26A
    ?UPPORTING 38400 ?AUD ?ATES
    ?ESTING ?CHO-?ET V1 BETA
    ?EATURING ?ESSAGES, ?ILES,
    ?ET?AIL, AND ?NLINE ?AMES!
    ?YS?P: ? ? ? ? ? ? ? ? ?
    ?RESS ANY KEY TO LOGIN\C?
    The result is different!
    Can someone help me along here... I have been trying to figure out how to do this for approx. a year or so... it has been a very slow process.
    I could use a guru to help me out so I can write the upload and download routines for my Commodore BBS PETSCII Emulation Server.
    Visit http://www.retrogradebbs.com for details.
    Thanks.
    Please help out a dedicated developer who is in over his head...
    -Dave

    Ok. Fair enough. What about general information about Xmodem. This is a hard project because of how obscure the legacy technology is that I am having to implement using Java and MySQL.
    I have two major issues which I have to figure out how to troubleshoot and debug, if possible.
    1. The 23+ blocks exception when a file is being received
    2. The exception which is thrown immediately if I try to receive a binary file instead of an ASCII file.
    I read that telnet is a 7-bit technology and that is why Xmodem, which is an 8-bit technology is not that popular as a viable protocol via telnet, whereas Kermit is, since it was developed for 7-bit systems, i.e. mainframes and minicomputers.
    Is this correct?
    If that is the case, why does www.serio.com have a viable X-Y-ZModem library available (for several hundred $$$ of course) which can be used with both RS-232 serial ports and TCP socket ports? Obviously, it can be done. They are the ONLY company with this library for sale for Java to do this. I cannot justify that $$$ amount for a mere hobby (writing the BBS emulation server for supporting Commodore PETSCII (CG) callers via CGTerm or a native C-64 terminal program using Jim Brain's TCPSER middleware, which emulates a Hayes modem via telnet for telBBSing/retrocomputing.
    I really want to learn how to implement a file transfer protocol, since back in the 80s, I used Xmodem, Punter, Y/Z Modem, etc., a lot to upload and download files via modem at baud rates of 2400, 14.4, 19.2, and 38.4, respectively.
    It's fun to learn how the old skool gurus of telecommunications technology did it. It is one thing to run a BBS which supports these technologies and features, and it is an entirely other thing to learn how to design and develop them yourself for implementation into a project such as I taken on.
    It CAN be done. It WILL be done. However, I have just started my exhaustive research on how it needs to be done. I have read up as much as I could on XModem by Ward C., the father of the protocol.
    But, I have no information to help me figure out why the communications are acting as they do so far.
    Can someone please download the xserver.zip file on my website at:
    www.retrogradebbs.com/projects/xserver.zip
    Compile it. Run it. Connect using HyperTerminal, Netrunner, or another telnet terminal emulation program which supports Xmodem file transfers using WinSock.
    See what happens. With finals due in the next two days, this project will have to be put on hold until after I submit my two final projects.
    If anyone knows what needs to be done to support both ASCII and BINARY file transfers via Xmodem via a socket instead of a modem with RTS/CTS hardware flow control, please respond.
    I know for a fact that this can be done.
    - Dave

Maybe you are looking for

  • OSB : Endpoint URI problem in business service

    I have to invoke a http service from OSB where endpoint uri is http://<ip>:<port>/Resource. At invocation time OSB is adding "?" to the end of URI, in that case http message is becoming like following: POST /Resource? HTTP/1.1 External service is con

  • Zsnes 1.42 fails to detect opengl libs

    Hi there, I'm new to archlinux (although not new to linux in general) and really like it so far. However I'm having some problems with compiling zsnes 1.42. For some reason zsnes fails to detect opengl. I'm running libgl 7.0.3rc1-1 and mesa 7.0.3rc1-

  • Migrating application containing forms calling reports on ids9i

    i am trying to migrate an application with forms and reports. problem: menu.mmb contains "run_product(REPORTS..." i tried: result:=run_report_object(find_report_object('abr_as'), ' '); (and definied this report in the menu.fmb) rep-file and rdf-file

  • Standard Video Compression Settings

    When exporting from a project that was shot with a Canon XL2 at 24fps (using the 2:3:3:2 pulldown): Motion: Shall I leave the Frame Rate under CURRENT or choose 24fps? Key Frames: Should I choose Automatic, Every, or All in regards to the key frames?

  • Apple Support for MediaHub

    Can I use Time Machine with the Linksys Media Hub?  If I can't yet and it comes out in a future software release, do I have to wait until that release to buy the product or can I buy it now and upgrade the software if/when it becomes available? Thank