Image File Transfer using Socket Programming
ABSTRACT
A socket in network is a concept in networking, with many prominent influences in many applications such as peer-to-peer networking, file transfers through the Internet, and communication. Sockets being as widespread in networking today is well supported with many libraries and APIs capable of utilizing this technology. In this paper we will discuss different types of sockets, how these different types of sockets can be implemented, some common examples, as well as the steps necessary in creating a client-server model of sockets to transfer images between two computers in the same wireless network, and transfer an image locally on one computer.
Author
Ric Davis
REFERENCES
- [1] Mitchell, B. (n.d.). This kind of socket isn't for your wall - learn about network sockets. Retrieved April 17, 2017, from https://www.lifewire.com/socket-
- [2] Sending a file over TCP sockets in Python. (n.d.). Retrieved April 17, 2017, from http://stackoverflow.com/questions/27241804/ sending-a-file-over-tcp-sockets-in-python
- [3] Lauren Evanoff, Nicole Hatch, Gagneja K.K., “Home Network Security: Beginner vs Advanced”, ICWN, Las Vegas, USA, July 27-30, 2015.
- [4] Singh Arvinderpal, Gagneja K. K., “Incident Response through Behavioral Science: An Industrial approach”, IEEE CSCI, Las Vegas, USA, Dec. 7-9, 2015. 242 Image File Transfer using Socket Programming Copyright ©IJICCT, Vol V, Issue I(Jan-Jun 2017):ISSN 2347-7202
- [5] KK Gagneja, “Global Perspective of Security Breaches in Facebook”, FECS, Las Vegas, USA, July 21-24, 2014.
- [6] KK Gagneja, "Pairwise Key Distribution Scheme for Two-Tier Sensor Networks", IEEE ICNC, Honolulu, Hawaii, USA, pages 1081-1086, Feb. 3-6, 2014.
- [7] KK Gagneja, KE Nygard, "Energy Efficient Approach with Integrated Key Management Scheme for Wireless Sensor Networks", ACM MOBIHOC, Bangalore, India, pages 13-18, July 29, 2013.
- [8] KK Gagneja, KE Nygard, "Heuristic Clustering with Secured Routing in Heterogeneous Sensor Networks", IEEE SECON, New Orleans, USA, pages 9-16, June 24-26, 2013.
- [9] Gagneja K.K., “Knowing the Ransomware and Building Defense Against it - Specific to HealthCare Institutes”, IEEE MobiSecServ, Miami, USA, Feb. 11-12, 2017.
- [10] KK Gagneja, “Secure Communication Scheme for Wireless Sensor Networks to maintain Anonymity”, IEEE ICNC, Anaheim, California, USA, Feb. 16-19, 2015.
- [11] Kanwalinder Gagneja, Max Runia, “Raspberry Pi Webserver”, ESA, Las Vegas, USA, July 27-30, 2015. http://worldcomp-proceedings.com/proc/p2015/ESA_contents.html
- [12] KK Gagneja, KE Nygard, "A QoS based Heuristics for Clustering in Two-Tier Sensor Networks", IEEE FedCSIS 2012, Wroclaw, Poland, pages 779-784, Sept. 9-12, 2012.
- [13] KK Gagneja, KE Nygard, N Singh., "Tabu-Voronoi Clustering Heuristics with Key Management Scheme for Heterogeneous Sensor Networks", IEEE ICUFN 2012, Phuket, Thailand, pages 46-51, July 4-6, 2012.
- [14] KK Gagneja, "Pairwise Post Deployment Key Management Scheme for Heterogeneous Sensor Networks", 13th IEEE WoWMoM 2012, San Francisco, California, USA, pages 1-2, June 25-28, 2012.
- [15] KK Gagneja, KE Nygard, "Key Management Scheme for Routing in Clustered Heterogeneous Sensor Networks", IEEE NTMS 2012, Security Track, Istanbul, Turkey, pp. 1-5, 7-10 May, 2012.
- [16] Input and Output. (n.d.). Retrieved April 17, 2017, from https://docs.python.org/3.6/tutorial/inputoutput.html
- [17] Socket — Low-level networking interface. (n.d.).Retrieved April 17, 2017, from https://docs.python.org/3.0/library/socket.html
- [18] Python Files I/O. Retrieved April 17, 2017, from https://www.tutorialspoint.com/python/python_files_io.htm
- [19] APS Gagneja, KK Gagneja, “Mobile Health (mHealth) Technologies”, IEEE HealthCom, Boston, USA, Oct. 14-17, 2015.
- [20] Gagneja K.K. Ranganathan P., Boughosn S., Loree P. and Nygard K., "Limiting Transmit Power of Antennas in Heterogeneous Sensor Networks", IEEE EIT2012, IUPUI Indianapolis, IN, USA, pages 1-4, May 6-8, 2012.
- [21] Nygard K., Bender L., Walia G., Kong J., Gagneja K., and LeNoue M., “Collaboration Using Social Networks for Team Projects”, International Conference on Frontiers in Education: Computer Science and Computer Engineering (FECS'11), Las Vegas, USA, July 18-21, 2011.
- [22] K J Kaur, XX Du, K Nygard, “Enhanced routing in Heterogeneous Sensor Networks”, IEEE Computation World’09, pp. 569-574, Athens, Greece, Nov. 15-20, 2009.
- [23] Inter-Process Communication with Sockets, Retrieved April 17, 2017, from http://www.it.uom.gr/teaching/distrubutedSite/dsIdaLiu /labs/lab2_1/sockets.html
- [24] Python Networking Programming. Retrieved April 18, 2017, from https://www.tutorialspoint.com/python/python_network ing.htm