Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
New Developer
maltic
Posts: 49
Registered: 09-25-2009

Re: TCP connections suck ... any of them

[ Edited ]

More news - no I am not home yet :smileywink: 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 :smileywink: 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
Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
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
Please use plain text.
New Developer
maltic
Posts: 49
Registered: 09-25-2009

Re: TCP connections suck ... any of them

Thank for your this extremely helpful and intelligent comment.
Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
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.

Please use plain text.
New Developer
maltic
Posts: 49
Registered: 09-25-2009

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...

Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
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. 

Please use plain text.
Developer
Posts: 1,474
Registered: 04-14-2009

Re: TCP connections suck ... any of them

tcpdump/WireShark and a good book on TCP...
Please use plain text.
Developer
Aviator168
Posts: 694
Registered: 09-10-2009
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.
Please use plain text.