PDA

View Full Version : any issues about using 2 sockets?


RFelipe
04-30-2002, 04:47 PM
Hi,

Im creating an app with 2 sockets, I never close the 1st socket and the 2nd socket is by request (open/close). My problem is this, * once the 2nd socket has started 1st socket can't receive any data.
* once the 2nd socket is closed, 1st socket still couldn't recieve any data.

Note:
* 1st Socket can still send data
* I tried using one INetMgr for both socket, but got the same result
* I tried using 2 INetMgr, one for each socket, but got the same result.

Thanks

Kevin
05-02-2002, 06:22 PM
Are you testing this on the Emulator or on a device? Which device if so, and what type of sockets are you using (TCP/UDP both)?

RFelipe
05-03-2002, 03:48 PM
Im using TCP.
BREW v1.0.1 SDK
Emulator works fine no problem at all.
BREW Device: Sharp Z-800 w/ v1.08

Problem only occurs on the device.
Here are the other scenario:
* Both socket connectes to the same ip addresses but diff. port numbers
* Sockets connects to 2 diff. ip addresses with diff. port numbers
Both produces the same problem.

Thanks

Kevin
05-07-2002, 05:32 PM
The Sharp Z800 only supports 1 TCP socket and 1 UDP socket. You cannot have two TCP Sockets on that device.