BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 02-01-2008, 02:27 AM   #1
muscle-liu
New Member
 
Join Date: Dec 2007
Model: no
PIN: N/A
Carrier: no
Posts: 2
Default problem about sending data with udp protocol

Please Login to Remove!

HI, all

Using j2me, I wrote a test app which contains a client and a server transmitting data with udp protocol, and it is workable in wtk emulators.

but after i transfered it to BB(using the rapc tool), when the client sent data to server , it is OK, however, sending data to the client from the server, the server can send, but the client can not receive. anyone can help me ??
PS: the client and server separatly ran in two BB emulator8800,in two PC.

Thanks in advance.
Offline  
Old 02-03-2008, 09:02 AM   #2
hdawg
BlackBerry Genius
 
hdawg's Avatar
 
Join Date: Aug 2006
Model: hdawg
PIN: port3101.org
Carrier: hdawg
Posts: 6,632
Default

moving to developer forum ...
Offline  
Old 02-03-2008, 09:28 AM   #3
hscee
New Member
 
Join Date: Feb 2008
Model: 8800
PIN: N/A
Carrier: o2
Posts: 3
Default

hey can you post some code what are you doing.. or you can email the application code or java file .. my email is [email address] .. i am doing similar for my uni project. i have done it through tcp with this line

conn1=(StreamConnection)Connector.open("comm:0;bau drate=1200");
//conn1=(StreamConnection)Connector.open("http://geocities.com/kumail18/send.txt");
in=conn1.openInputStream();


conn=(StreamConnection)Connector.open("socket://localhost:5000");
out=conn.openOutputStream();
Offline  
Old 02-18-2008, 07:09 AM   #4
muscle-liu
New Member
 
Join Date: Dec 2007
Model: no
PIN: N/A
Carrier: no
Posts: 2
Default

hi, hscee.

my code is just the example in the wtk(the sample NetworkDemo). I just transfer it to BB. By the way , the problem is still on. do you have solved this?if had, can you tell how to fix it ??
Offline  
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Vintage Starrett #257 Toolmaker Machinist Surface Gauge 8

Vintage Starrett #257 Toolmaker Machinist Surface Gauge 8" Spindle

$31.99



Vintage Catalog ALDON Railway Railroad Industrial Products 1983 Waukegan picture

Vintage Catalog ALDON Railway Railroad Industrial Products 1983 Waukegan

$14.99



Kleer-View Glass Welding Cover Lens Vintage 2 X 4.25

Kleer-View Glass Welding Cover Lens Vintage 2 X 4.25"

$4.95



Liquid Level Control Vintage MACHINERY ELECTRIFICATION. Untested picture

Liquid Level Control Vintage MACHINERY ELECTRIFICATION. Untested

$60.00



Vintage Orthoscopic 12x Eyepiece  picture

Vintage Orthoscopic 12x Eyepiece

$56.00



Vintage Motorola Car Radio Chrome Face Plate picture

Vintage Motorola Car Radio Chrome Face Plate

$48.99







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.