Level: Intermediate
Network programming in python is powerful. Python's socket module is the foundation module for all network programming in Python. In this article, is a reference of the functions, classes, and constants available in the socket module. Network programming allows creation of various applications that can connect to Internet to exchange a diversity data.
This article demonstrates how a file is transferred over WiFi.
WiFi providing a convenient way for connecting to the Internet or a corporate network or for accessing e-mail by using a wireless device. Moreover, WLAN/Wifi connectivity is present in Nokia smartphone devices, together with other wireless technology connecting to the internet like Bluetooth, Infrared, GPRS, EDGE, etc. In fact, bluetooth could be also used for this, but WiFi may be more convenient when you want to transfer large data like sis files. The author has used two client/server applications using PyS60 socket API. The first application (RXFile) is a server to receive files over WiFi. The other application (TXFile) is a client for sending files over WiFi to the cited server.
This article is recommended for people who wish to develop some cool applications using WLAN connectivity.
Further reading: Fortune server-client example
Nirpsis 19:40, 4 September 2009 (UTC)