Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 49
Registered: ‎09-25-2009
My Device: Not Specified

Re: TCP connections suck ... any of them

[ Edited ]

More news - no I am not home yet Smiley Wink We installed Apache on my W7 machine and on a XP machine with SP3 - same version, same file to download. Guess, what happens? Windows XP works, W7 not!

 

On the Flip it takes longer for the hang or error to occur, on my Curve it now happens after about 2 seconds. So my guess seems - well most likely, let´s drive home and test Linux -to be right. There have been changes in the TCP stacks of W7 and maybe Vista which RIM cannot handle. So whom to blame now? I can download from Linux and from Windows XP when hosting on W7 ... so they CAN download Smiley Wink I will update my ticket on the Issue Tracker - let´s wait for RIM.

 

BTW: we also tested Windows Server 2003 R2 -problem as well as on W7 ...

Message Edited by maltic on 10-09-2009 01:17 PM
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: TCP connections suck ... any of them

[ Edited ]
There is a good reason why most of the web servers out there are running on linux machines.
Message Edited by Aviator168 on 10-09-2009 01:36 PM
New Developer
Posts: 49
Registered: ‎09-25-2009
My Device: Not Specified

Re: TCP connections suck ... any of them

Thank for your this extremely helpful and intelligent comment.
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: TCP connections suck ... any of them

I am sorry that you took it the wrong. I was trying to be a bit sarcastic.

 

Mind you. I am struggling with my TCP/IP problem as well. My problem is a bit different. The application receives well. However, I can only transmit 50 or so times before the send command hangs. No exception, nothing. My server is, I think, win2k professioal. Now you mentioned it. Maybe I should try running it on xp or Linux.

New Developer
Posts: 49
Registered: ‎09-25-2009
My Device: Not Specified

Re: TCP connections suck ... any of them

Ah ok, I am sorry. I have to much to do with "Microsoft bashers". We have different situations here. Sometimes we get IO errors, sometimes network timeouts, sometimes - like you - even nothing. I will but up the Linux live CD now and check if it works...

Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: TCP connections suck ... any of them

This is what I have found so far.

TCP - I can receive as much as I want on a socket as long as I don't try to send at the same time

UDP - I can send as much as I want as long as I don't try to receive at the same time

 

I will try to put this two in a single application with seperate thread on Monday and see what happens. 

Developer
Posts: 1,474
Registered: ‎04-14-2009
My Device: Not Specified

Re: TCP connections suck ... any of them

tcpdump/WireShark and a good book on TCP...
Developer
Posts: 709
Registered: ‎09-10-2009
My Device: 8520, 8900, 9000, 9300, 9650, 9700, 9780, 9800, 9810, 9900, 9930
My Carrier: Verizon

Re: TCP connections suck ... any of them

I was going to do the wireshark thing today. Then again, what are you going to do if you find out the library in the BB is acting up. We can't do anything until RIM makes a fix, can we? And besides, I wasn't even able to update the software in my 9000. I got a fatal error everytime I try to run DM to update it. The way I look at it. If I have  a way around it, I will go that route rather than wait for RIM to do the fix.