The document discusses the requirements and components of networking including hardware, software, protocols, and the TCP/IP model. It describes the five layers of the TCP/IP model in detail, including the application, TCP, IP, data link, and physical layers. It also discusses common network protocols like IP addresses, DNS, FTP, HTTP, SMTP, POP, UDP, and sockets. Finally, it provides examples of client-server programming using sockets in Java.
Python: Server Sockets and Client Sockets
- Describes the unique features of Client Sockets and server sockets
- The difference between client and server sockets
- Sample links to python client-server example links
- Details of bind(), listen(), accept(), connect(), recv()
Programming Series from https://pythontic.com
Network programming in java - PPT with Easy Programs and examples of Java InetAddress Class and java socket programming example.
Learn more @ http://java2all.com/technology/network-programming
Walks through the basics of the HTTP protocol, URLs, cookies and caching, with tricks and tips that can be used by web developers. From a Geek.class I did on Oct 6, 2011 for Meet the Geeks.
The presentation given at MSBTE sponsored content updating program on 'Advanced Java Programming' for Diploma Engineering teachers of Maharashtra. Venue: Guru Gobind Singh Polytechnic, Nashik
Date: 22/12/2010
Session: Java Network Programming
Python: Server Sockets and Client Sockets
- Describes the unique features of Client Sockets and server sockets
- The difference between client and server sockets
- Sample links to python client-server example links
- Details of bind(), listen(), accept(), connect(), recv()
Programming Series from https://pythontic.com
Network programming in java - PPT with Easy Programs and examples of Java InetAddress Class and java socket programming example.
Learn more @ http://java2all.com/technology/network-programming
Walks through the basics of the HTTP protocol, URLs, cookies and caching, with tricks and tips that can be used by web developers. From a Geek.class I did on Oct 6, 2011 for Meet the Geeks.
The presentation given at MSBTE sponsored content updating program on 'Advanced Java Programming' for Diploma Engineering teachers of Maharashtra. Venue: Guru Gobind Singh Polytechnic, Nashik
Date: 22/12/2010
Session: Java Network Programming
The Presentation given at Guru Gobind Singh Polytechnic, Nashik for Third Year Information Technology and Computer Engineering Students on 08/02/2011.
Topic: Java Network Programming
Design an Implementation of A Messaging and Resource Sharing Softwarenilabarai
In this article it has been looked how to program using sockets by implementing an echo server along with a client that is used to send and receive string messages. It will start off by giving a quick introduction to TCP/IP fundamentals and then explain how sockets fit into the diagram. Most network application can be divided into two pieces: a client and a server. A client is the side that initiates the communication process, where as the server responds to incoming client requests. There would be contains three types of service from this software, that is Message Transfer service, Voice Transfer service and File Transfer service. All this sorts are the design issue of this software.
Introduction
This Tutorial is On Socket Programming In C Language for Linux. Instructions Give Below will only work On Linux System not in windows.
Socket API In windows is called Winsock and there we can discuss about that in another tutorial.
What is Socket?
Sockets are a method for communication between a client program and a server program in a network.
A socket is defined as "the endpoint in a connection." Sockets are created and used with a set of programming requests or "function calls" sometimes called the sockets application programming interface (API).
The most common sockets API is the Berkeley UNIX C interface for sockets.
Sockets can also be used for communication between processes within the same computer.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
Ethnobotany and Ethnopharmacology:
Ethnobotany in herbal drug evaluation,
Impact of Ethnobotany in traditional medicine,
New development in herbals,
Bio-prospecting tools for drug discovery,
Role of Ethnopharmacology in drug evaluation,
Reverse Pharmacology.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
Palestine last event orientationfvgnh .pptxRaedMohamed3
An EFL lesson about the current events in Palestine. It is intended to be for intermediate students who wish to increase their listening skills through a short lesson in power point.
2. There are 3 requirements to establish a network:
Hardware: includes the computers, cables, modems,
hubs, etc
Software: includes program to communicate between
server and clients
Protocols: represent a way to establish connection
and helps in sending and receiving data in a standard
format.
By – Gaurav
GOFORELEARNING@GMAIL.COM
3. TCP/IP is a standard protocol model used on any
network.
TCP/IP model has got the following 5 layers:
1. Application layer
2. TCP
3. IP
4. Data link layer
5. Physical layer
By – Gaurav
GOFORELEARNING@GMAIL.COM
4. 1. Application layer
◦ Application layer is the topmost layer.
◦ This layer receives data from the application and formats the
data.
◦ it sends that data to the next layer called TCP in the form of
continuous stream of bytes.
2. TCP
◦ Receives data from Application layer,
◦ TCP will divide it into small segments called ‘packets’. A
packet contains a group of bytes of data.
◦ These packets are then sent to next IP layer
By – Gaurav
GOFORELEARNING@GMAIL.COM
5. 3. IP layer
◦ IP layer inserts the packets into envelopes called
‘frames’.
◦ Each frame contains a packet:
IP address of destination computer,
IP address of source computer,
some additional bits useful in error detection and
correction.
◦ These frames are then sent to Data link layer
By – Gaurav
GOFORELEARNING@GMAIL.COM
6. 4. Data Link Layer
◦ Receives frames from the IP Layer.
◦ Dispatches them to correct destination computer
on the network.
5. Physical Layer
◦ This layer is used to physically transmit data on
the network using the appropriate hardware.
By – Gaurav
GOFORELEARNING@GMAIL.COM
7. TCP/IP takes care of number of bits sent and weather
all the bits are received duly by the destination
computer. so it is called ‘connection oriented reliable
protocol’.
This protocol is highly suitable for transporting data
reliably on a network.
Almost all the protocol on Internet uses TCP/IP
model internally.
By – Gaurav
GOFORELEARNING@GMAIL.COM
8. IP Address:
An IP address is a Unique Identification number given
to every computer on the network.
It contain four integer numbers in the range of 0 to
255 and separated by a dot as 209.191.88.254
DNS (domain naming service)
DNS is the mapping of IP addresses to human
readable names.
FTP (file transfer protocol)
Useful to download or upload files from and to the
server.
By – Gaurav
GOFORELEARNING@GMAIL.COM
9. HTTP(Hypertext transfer protocol)
Most widely used protocol on Internet, which is used
to transfer web pages (.html) from one computer to
anoher computer on Internet.
SMTP (simple mail transfer protocol)
Useful to send mails on network.
POP(post office protocol)
Useful to receive mails into the mailboxes.
By – Gaurav
GOFORELEARNING@GMAIL.COM
10. Protocol that transfer data in a connection less and
unreliable manner.
It will not check how many bits are sent or received at
the other side during transmission of data.
UDP is used to send images, audio files and video files.
11. Sockets provide the communication mechanism
between two computers using TCP.
A client program creates a socket on its end of the
communication and attempts to connect that socket to
a server.
When the connection is made, the server creates a
socket object on its end of the communication.
By – Gaurav
GOFORELEARNING@GMAIL.COM
12. The client in socket programming must know two
information:
◦ IP Address of Server, and
◦ Port number.
We should use a new port number for each new
socket.
A socket, at server side is called ‘server socket’ and
is created using ServerSocket class in Java.
A socket, at client side is called ‘socket’ and is
created using Socket class in Java.
By – Gaurav
GOFORELEARNING@GMAIL.COM
13. getByName() method of InetAddress class of java.net
package.
By – Gaurav
GOFORELEARNING@GMAIL.COM
getByName()
Host Name / Server
Name
InetAddress/
IP Address
14. URL URL(Uniform Resource Locator) represents the
address that is specified to access some information or
resources on world wide web.
http://www.goforelearning.com:80/index.html
The URL contains 4 parts
◦ The protocol to use (http://).
◦ The server name or IP address of the server(www.goforelearning.com)
◦ The third part represents ports number, which is optional (:80)
◦ The last part is the file name or directory name that is referred
(index.html).
URL is represented by a class ‘URL’ in java.net package.
URL obj = new URL(String protocol, String host, int port,
String path);
By – Gaurav
GOFORELEARNING@GMAIL.COM
15. URLConnection Class is useful to actually connect
to a website or resource on a network and get all
the details of the website.
For example,
To know the details of www.yahoo.com
◦ We should pass the URL to the object of URL class.
◦ Then using openConnection() method, we should
establish a contact with the site on Internet.
◦ This method return URLConnection object.
◦ Then using URLConnection class method, we can
display all the details of the website and also content
of the webpage whose name is given in URL.
By – Gaurav
GOFORELEARNING@GMAIL.COM
17. By – Gaurav
GOFORELEARNING@GMAIL.COM
Socket
BufferedReaderInputStream
Socket s = new Socket (“IPAddress” , port number) ;
InputStream obj = s.get InputStream();
BufferedReader br = new BufferedReader (new InputStreamReader(obj));
Str = br.readLine();
br.close();
s.close()
Client
In case you don’t have your computer in a network, you have to run
both the server and client programs in the same system. In that case,
you can use localhost in place of IPAddress. The work localhost
represents that the server is also locally available in the same system.
18. We need additional streams both at server and client.
InputStream obj = s.getInputStream();
BufferedReader br = new BufferedReader (new
InputStreamReader(obj));
OutputStream obj = s. getOutputStream();
DataOutputStream dos = new DataOutputStream(obj);
writeBytes() method of DataOutputStream can be used to
send strings in form of groups of bytes.
19. Thank You !
Go GrEEN !
Save Environment!
For Any Queries: GOFORELEARNING@GMAIL.COM