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


Voice Activated Listening Device Audio 150 Day Battery Spy Recorder 16 GB picture

Voice Activated Listening Device Audio 150 Day Battery Spy Recorder 16 GB

$109.00



Avnet UltraZed-EG AES-ZU3EG-1-SOM-I-G Zynq UltraScale+ MPSoC System-on-Module picture

Avnet UltraZed-EG AES-ZU3EG-1-SOM-I-G Zynq UltraScale+ MPSoC System-on-Module

$129.99



SIMATIC, Memory Card, 4 Mbytes, 24 Mbytes, 256 Mbytes picture

SIMATIC, Memory Card, 4 Mbytes, 24 Mbytes, 256 Mbytes

$237.75



New Factory Sealed AB 1756-L61 SER B ControlLogix 2MB Memory Controller 1756L61 picture

New Factory Sealed AB 1756-L61 SER B ControlLogix 2MB Memory Controller 1756L61

$304.69



Nakajima WPT-160 Electronic Portable Typewriter with Display and Memory picture

Nakajima WPT-160 Electronic Portable Typewriter with Display and Memory

$279.99



AVNET ULTRAZED SOM ZYNQ ULTRASCALE+ XCZU3EG SYSTEM ON MODULE -  picture

AVNET ULTRAZED SOM ZYNQ ULTRASCALE+ XCZU3EG SYSTEM ON MODULE -

$98.67







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