Transfer TCP on WiFi speed

I am a direct Socket connection to a laptop on the same router (with the suffix "= wifi interface"). It works but the connection is incredibly slow, and the transfer of files is at a maximum rate of 24.5 KB/s.

It may be related to the mechanism we use:

Applications of BB 64K-->

<-- laptop="" sends="">

Applications of BB 64K-->

....

But still, he cannot be so slow. I was wondering what advice you guys can give me.

I tried the following:

(1) reading the full 64 K at once,

byte[] data=new byte[64000];in.read(data);

(2) setting receive and send buffers

socket.setSocketOption(SocketConnection.RCVBUF,64000);
socket.setSocketOption(SocketConnection.SNDBUF,64000);

(3) using a class for FileConnection and entry/OutputStreams variable so it is not open or closed for each package.

What else did I miss?

No, I was referring to the CRC code I implemented for my application (message layer).

In addition, I was blushing the output stream each package which has become a bottleneck and caused the device to hang (as it is faster than the hot flashes in a local installation to receive a new package). Later, I'll let the OS worry about rinsing an OutputStream now.

During the reception, I'm able to reach a speed of 250 + KB/s now.

(Same Wi - Fi network)

Tags: BlackBerry Developers

Similar Questions

  • Z570 - WIFI speed

    I'm the only person who feels that my Wifi speed considerably decreased since the day where I did a fesh install on my Z570 or that it also has ties with the question pending BIOS?

    Sometimes just turn off the router and restart...

    Mark

  • Stuck to the 65MBPS WiFi speed

    Hi, first of all I am sorry for my English

    I am optimize my home network to get better WIFI speed because I am trying to use my Z3 with my PS4 and saw that most portable devices stuck to 65MBPS. I tried this:

    -Xperia XS: 65mpbs

    -S: 65mbps Xperia

    -Z3 Xperia: 65mbps

    -Samsung Galaxy Ace 2: 65mbps

    -Sony s Tablet: 65mbps

    -Dogee: 135Mbps

    -Dell Alienware PC: 270mbps

    -Compaq PC: 135mbps

    I see that some devices may reach up to 135Mbps and faster, so I think this isn't a problem with wifi. Less expensive phone of my house (dogee) get a best speed of wifi.

    The Xperia phones are limited to 65mbps by material or similar?

    Thank you!!

    Yes, in this case I would get also an access point in the place or a router that can be set to act as an access point and connect it with a cable to the router existing (I use this Setup myself at home). But if both are placed near eachother it may be wise to turn off the WiFi on the router or use for only 2.4 and 5 GHz only.

  • My wifi speed went down after the installation of windows 8

    After download of windows 8 on my laptop wifi speed went from 25 Mbit/s to 0.2 - 0.5 Mbps, on my other laptop speed is always 25 Mbps, I get two different speeds with two different laptops in the same room, my laptop is a Hp Envy 6 1048ca

    Hi AshifChowdhury


    I'm glad to know that you have published the application in the Windows 8 Forums.

    According to your description, you have a problem with the Wi - Fi is slow after installing Windows 8.

    I understand that it must be frustrating, but don't worry, we are here to help solve your problem and guide you in the right direction.

    We begin with a question.

    Did you do changes on the computer before the show?

    Now let us perform some troubleshooting. All steps are carried out systematically and in order.

    Method 1 - I wish that you run the network adapter troubleshooter.

    First of all, try to use the network adapter troubleshooting utility to automatically find and fix some problems. This troubleshooting will be disable and re-enable the adapter and try a few other common repairs:

    Open the network adapter troubleshooting utility by hitting swipe in the edge right of the screen, tap Find (or if you use a mouse, pointing to the top right of the screen, move the pointer of the mouse down and then clicking search), entering the troubleshooting in the search box, touching or clicking on settings and then by typing or clicking on the resolution of the problems. Press or click Network and Internet and then press or click on the network map.
    Make sure that there is no interference between the router and the computer.
    Sometimes interference like cordless phones, thick walls, and other wireless devices can affect the speed of Wi - Fi.
     
    Hope the above information helps.

    Do get back to us and let us know the State of the question in the case where you need further help or your next post. We, at tender Microsoft to excellence.
  • 320N crashes when you try to transfer data via wifi

    I have the 320N and I am very frusterated.  I would just take it, but I bought it new on Amazon.com, which means I have to pay shipping because I threw away the box and the return shipping of RMA form!  I don't even know if Amazon bring it back without this paperwork, but still the question...

    I have not yet all maps N, but I upgraded to this router because my home internet service is faster than what my old WRT - 54 g could deliver.  This new router performs routing and I can now achieve the nominal speed from my ISP (50 / 10 Mbit/s).

    Can I transfer large files 6 + GB WIRED between one of the LAN ports on this device.  However if I try to transfer more data on wifi, the router simply will stop.  The lights on the front work well, they Flash as there is activity and power light is solid, but it will not pass traffic and SSID wifi disappears.  I run a continuous ping to the router (192.168.1.1, ping - t) and I get<1ms replies.=""  on="" my="" laptop="" i="" initiate="" a="" download="" of="" a="" 1gb="" file="" which="" is="" shared="" in="" my="" windows="" 7="" homegroup.=""  within="" a="" minute="" or="" two="" the="" constant="" ping="" to="" the="" router="" starts="" timing="" out.=""  internet="" access="" to="" anything="" (wired="" or="" wireless)="" instantly="" ceases.=""  new="" introduced="" devices="" will="" not="" grab="" a="" dhcp="" address.=""  existing="" pc's="" whom="" already="" have="" their="" dhcp="" address="" can="" talk="" to="" each="" other="" only="" if="" wired.=""  the="" wireless="" transmitter="" stops="" broadcasting="" the="" network="" and="" devices="" no="" longer="" see="" it="" on="" the="" airwaves.=""  the="" only="" way="" to="" fix="" it="" is="" to="" power="" cycle="">

    It doesn't even have to be a large file via wifi to transfer.  Earlier as I type this post that I noticed the constant ping my other monitor started timing.  I have pedaled power the router in time for me to run for this position.  In fact I had to do it three times in the time it took me to write this post.  It's the most frustrating experience I had with a wifi router/ap, and I play with Cisco equipment at work running IOS real.

    Here's what I've tried so far.

    Reset the default settings by pressing the rear reset for more than 30 seconds button.

    I can confirm this resets the default values as password and all the other settings are default return.

    I tried WPA2 Personal.  I tried WPA.  Router blocks always.

    I tried with all the default settings.  Router blocks always.

    I have reset the router repeatedly.  Always freezes.

    Power cycle it for more than a minute.  Always freezes.

    It with the latest Linksys firmware reflash.  Always freezes.

    What should I do next?  I have a feeling that it is the same problem as in a lot of the advice of HP printer firmware.  This problem is bad solder on BGA CPU connection.  The difficulty that you put the formatter Board in an oven at 400 degrees for 5 to 8 minutes.  After this time let you cool at room temperature.  The oven heats the bad welds enough so that it assigns and gets a better connection.  There are hundreds of messages of success on that.  I also hear that the solder connection problem exists for many of the older game consoles review Xbox 360 causing the infamous "Red Ring of Death".

    So should I try to fight with Amazon for it back and eat the shipping costs?

    Can I cancel my warranty, open the unit and put it in the oven?

    I buy another router from a store, but then put it in the box and take it back?

    I just cut my losses?

    I just use this as a wired router (turn off Wifi) and plug in my WRT - 54 g and the brand that act as an access point?

    Thanks for the tips.

    Well, since it's only a week, Amazon sent me a new.  I just ship this one back in the box they send.  As long as they get it in 30 days I will not be charged.

    This one is def. a dud.  Hope that the next one works much better.  The first thing I do with there is a 1 GB transfer file and see if it freezes.

  • WiFi speed on mac mini is wildly inconsistent

    I have Uverse internet.  The modem is also a wifi router.  I also have a range extender made by amplified wireless.  I use it for awhile.  This weekend the most bizarre behavior began.  WiFi directly to the router is, not always but a significant percentage of the time, crazy slow.  Less than 1 MB. And connectivity watch bars full.   Here's the weird part: with other devices, the speed is very good.  Well more than 15 MB.  And the strangest of all?  If I'm on the Extender, the speed is better.  Not full bore (which is normal), but a lot better.  Say of the order of 7 to 10 MB.

    I restarted the modem, but as I say, it's well on other devices.  I ran Diagnostics on the Mac Mini and he told me that everything was fine.

    I'm baffled by this one.

    Thanks for any help.

    Rob

    When it is connected directly, and then when it is connected to the Extender press on and hold the Option key and then click the wifi icon in the menu bar. After a screenshot of the window that opens.

  • WiFi speed degrades over time

    This is driving me crazy!

    So, I have a reliable internet connection.  I start the speed test and get ~ 85 Mbps down.  Then slowly, it's even worse, down for like .05mpbs.  Until I turn the wifi on my computer, then it is fast again.  It can be as fast as 10 minutes - 2 hours.

    #1 idea:

    Something is sucking my internet connection.

    I used every tool under the Sun, with more success with Little Snitch.  Nothing uses my connection when it is slow.  The fan is off.  Computer does nothing.

    #2 idea:

    Something on my network is using my connection.

    Speedtest.NET my girlfriend is fast.  My iPhone is fast.  Just my computer is slow.

    I blame this on my router for centuries, but it does not explain why my girlfriend is fast.  So I bought a new router (nine Airport extreme), nothing works.

    Yet once, turn/turn on wifi it solves every time.  Right of return up to 85mpbs

    I have tried everything I can find online, and I'm about to pull the hair last out of my head.

    Thanks for any help

    MacBook Air, OS X El Capitan (10.11.5)

    What is an independent separate cable from the router modem?

    Ah yes I see it now

    Speedtest.NET my girlfriend is fast.  My iPhone is fast.  Just my computer is slow.

    This corroborerait not a defective modem / intermittent

    Try running the AHT http://support.apple.com/kb/HT1509

  • Satellite L50 - B has slow WiFi speed

    Hello

    I got this laptop last month but I'm really disappointed because it was a bloody slow wifi connection.

    I've already updated my wireless drivers, but nothing happens. The funny thing is I have an another old laptop, but it has a speed great wifi.

    I already try to do a speedtest of them both in the same place at the same time but my acer got 10-15mbps but my toshiba receives only 1-2 Mbps and it is very frustrating.

    I have a Qualcomm Atheros AR956x Wireless Network Adapter and I have read a few problems with this adapter. Please if someone who can help me with my problem.

    I'll sort to buy an external wifi adapter if necessary.

    Using some devices Bluetooth as part of this Satellite phone?
    Bluetooth is turned on? If so, turn the Bluetooth off and test the performance of the WiFi.

    I read in some discussions that the simultaneous use of WiFi and Bluetooth may affect the performance of the Wifi.

  • HP laptop - 15-af030ca: download WiFi speed reduced by 50% +.

    Way too often triggers my wifi and I need to use the troubleshooter of the restart, when he returns my speed are matched by 50 to 90 percent. It is NOT a problem with my wifi as speeds on my desk stay stable.  My download speed remains the same. Really tired of a new computer failrly often have this problem.

    Thanks for getting back to me. Don't worry about removing the driver, just go ahead and start the installation program. You can also use the Recovery Manager if need be: P PCs - using the Recovery Manager to restore the software and drivers (Windows 8).

    If the problem persists, please include answers to the following questions in your response:

    1. How are determinants 50-90% of the speed of falling?
    2. This is based on a download speed?
    3. Where exactly you find this out?
    4. Are how close you to the router?
    5. You run 2.4 GHz of the laptop?
    6. You compare it to a speed on another computer? The computer is also wireless?
    7. You have a "inhalers connection" located on your laptop? See set up a connection as counter

    Thanks, I look forward to hearing back on your part.

  • Airport Express wifi speed

    Hello

    I have a 200 Mbps TWC service. I use TWC provided modem Arris 1070a (NAT = bridge) and have an Airport Express connected via Ethernet to my wireless router.

    When I connect my macbook pro directly to the modem arris via ethernet, I get over 200 Mbps download speed. However, when I use my wifi 5 GHz of my Airport express network, I'm only syncing on 30mbps.

    I understand that the Express has a 10/100 Ethernet port, but I should at least get 80 or 90 Mbps on wifi.

    Any ideas that I can do to get a speed more fast wifi other than trying to the extreme?

    Thank you

    Vishal200

    However, when I use my wifi 5 GHz of my Airport express network, I'm only syncing on 30mbps.

    What is the speed of the wireless link? Option, click the wifi icon in the top menu. This will give you lots of useful information...

    You must be related to the 300mbps... If this isn't the case, it will go just not fast.

  • Iconia W510 WiFi speed

    My wifi connection speed is 54 Mbit/s and there is no way that I can improve it. I have a router Cisco E4200 and my other devices reached speeds up to 150-300 Mbps. The Broadcom in the W510 is a device of nbgi so IMHO it should be able to be faster than 54 Mbps. Does anyone have any suggestions? This could be a driver problem?

    I approached the material limitations of an 802.11n network card 1 x 1 here:

    http://community.Acer.com/T5/Acer-tablets/W510-wireless-network-adapter-reading-speeds/m-p/39659#U39...

    That's what the W510.  In short, when it is connected to the large chains a standard wireless network N 20 MHz, data transfers faster, you can reach will be about 38 MB/s.

    It's like that.  It is a budget device.  I don't know any device of Clovertrail of the atom which has better wi - fi adapter 1 x 1 material.

  • Different WiFi speed with power and battery

    Hello

    I have a 4 Mbit adsl connection, I noticed that when the laptop is connected to the power, the browsing speed is very fast, when powered by the battery the speed drops to 5-6 KB/s.
    There are a few settings to solve this problem?

    Thank you

    Hello Fabio

    It s a question strange, but everything first, you can check the power settings in the properties of the wireless card. Please, go to the Device Manager and right click-> properties-wireless network card.
    There you should find a tab advanced. All parameters must be defined on the default usage and high value.

    Best regards

  • Download WiFi speed is poor

    I use a router broadband SMC 50 n. My phone gives me a download speed of 40 more, while the touchpad HP 32 GB cannot cross 4.83. Installed preware, pad running 3.04 last. Put the Touchpad with all settjngs preware updates. I wonder why its so slow operation.

    YES BOTH OF YOUR QUESTIONS. ROUTER HAS RECENTLY BEEN INSTALLED BY MY CABLE PROVIDER. ITS A SMCD3GN. Very strange, I must say. Touchpad was sent to HP for repair

    the case was cracked at the area of two speakers. When she came back to me, I had

    Re - install preware etc. I believe that unity is not the same as the one I sent, but refurbished. What made me suspicious, it is that I got to reregister the unit. I guess I'll have to contact HP.

    Thanks for your help... much appreciated

  • Yoga 3 Pro - very slow WIFI speed

    http://www.Speedtest.NET/my-result/4189241636

    I get about 15-17mbit on my 3 Yoga and my other laptop is 50mbit all the time, what is the problem? I did all the updates. My Wifi adapter is the current version of the driver Broadcom 802.11ac 6.35.223.2

    Found a fix. In my router settings I had to enable WMM

    http://www.Speedtest.NET/my-result/4190547530

  • Acer 12-Wifi-speed switch

    Hallo!

    Ben am Verzweifeln. Mein neues Acer switch 12 (finde ich es richtig toll before) hat einfach einen slow W-Lan-speed. Der receipt scheint gut. Es ist nur halb so schnell wie mein Notebook in gleicher distance.

    Before ich das ermitteln konnte aktuell ist der Treiber. Funktyp routers: 802.11 g

    Wir haben nicht das Netz aber am allerschnellste portable ist're viel schneller.

    auf Amazon hab ich communications, dass auch einer uber das klagte problem. Macht keinen Spass mit so slow W - Lan.

    Offers works das W - Lan EIB use/ist einer Bluetooth-Maus a break. DAS liegt am same problem frequency clarinet.

    Konnte Ihr mir helfen of da...

    Liebe Grüße,

    Blickwinkler

    Das mit der Bildschrimhelligkeit hab ich nun selbst herausgefunden bzw. in Foren found. DAS Acer Programm PowerManagement everyone die Einstellungen im Intel-HD-Grafik-Menu immer wieder back. ES muss deinstalliert werden, dann die Einstellungen fur den Bildschrim tumors stay.

    Trotzdem danke an alle für die contributions!

Maybe you are looking for