You Are Here:

Community: Developer Discussion Boards

#1 Old S60 1.2: TCP/IP Sockets.. failed data transmission.. on 6680. anyone of similar prob? - 2006-11-19, 13:22

Join Date: Feb 2006
Posts: 11
yilunyou's Avatar
yilunyou
Offline
Registered User
Hi all,

just wondering if anyone else is facing the same problem.

I had been using TCP/IP socket connection on port 3333 for data comm between my 6680 & J2SE server on my windows platform. I was using GNUBox for the simulated LAN environment and using GPRS connection for testing and development.

this environment was working fine till 3 weeks ago.

I could established connection between the phone and the pc using GnuBox and using reach the server using a web browser by entering the server ip add: ipaddort. However just not with my application. so there's no problemt with sockets on HTTP, right?

There's no problem with data transmission when I've tested my application using the emulator on client & server residing on the same machine and different machines. So I dun think the problem lies with the ethernet adapter.

I've tested simple TCP/IP socket codes using C++, python, both failed to work either with GNUBox or GPRS. I've tested with different machines, servers behind and outside firewalls, different bluetooth dongle, different 6680 phones, different formatted windows platform.

with no success, all failed to work. I couldn't think of any problematic areas except for the TCP/IP sockets. another thought do u think that the firmware upgrades could have disabled something that cause the transmission to fail?
I couldn't find similar cases...

so if anyone could suggest other methods to debugging this problem or solutions .. i would really be very grateful!!
if you are also using 6680 and manage to establish & send using TCP/IP sockets.. would you be able to advise me please?

btw: my firmware version is: v 5.04.07
Reply With Quote

#2 Old Re: S60 1.2: TCP/IP Sockets.. failed data transmission.. on 6680. anyone of similar prob? - 2006-11-19, 13:23

Join Date: Feb 2006
Posts: 11
yilunyou's Avatar
yilunyou
Offline
Registered User
the codes i've used using python is:
Code:
import socket

HOST = '169.254.193.46'    # The remote host
PORT = 3333              # The same port as used by the server
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
s.send('Hello, world')
data = s.recv(1024)
s.close()
print 'Received', `data`
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This 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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket TCP/IP data transmission failed..on 6680 yilunyou Symbian Networking & Messaging 0 2006-11-19 05:12
suckho, i have encontered the same problems. Could you tell me how you resolved it? dicson_hu Symbian Networking & Messaging 4 2005-12-09 11:56
GPRS connection problems on 6600.. suckho Symbian Networking & Messaging 10 2005-12-02 15:00
6600 gprs 发送大量rtp延时问题 dicson_hu Symbian 9 2005-11-04 03:12
Nokia 6600 Socket Server send delay Problem dicson_hu Mobile Java Networking & Messaging & Security 1 2005-10-31 08:37

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia