Dear All,
I have an application on my mobile (PyS60) which should send data (could be a .txt file) to the server PC using GPRS/WiFi. Can somebody help me with some code for both GPRS and WiFi
Thanks in advance
Cyan
Dear All,
I have an application on my mobile (PyS60) which should send data (could be a .txt file) to the server PC using GPRS/WiFi. Can somebody help me with some code for both GPRS and WiFi
Thanks in advance
Cyan
hello Cyan
i think this wiki article will help you if i got you properly.
Regards
Gaba88
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
Cyan,
I am writing several posts related to networking programming. Please, take a look:
http://wiki.forum.nokia.com/index.ph...us.com.2Fblogs
can somebody help me with the code for client side (pys60) and server side (.net/php/asp)
now i am trying this:
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
print "connecting"
sock.connect(("122.166.13.178", 9090))
print "open ok"
out = sock.makefile("rw", 0)
print >> out, "Hi! I’m the TCP client"
out.close()
print "Client ok"
but i am getting an error - connection timed out.
server address and port number is valid :-)
thanks in advance
Cyan
Last edited by mt.jijo; 2009-06-25 at 08:24.
The message is clear: timeout. Try to:
0) double check addresses
1) pre select the access point
2) if you have enough rights/permissions, check if you can see related frames in your network using some sniffer.
3 check firewalls on your server machine
4) check firewalls on your wifi router
5) show (if you can) the server code