<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikimd.com/index.php?action=history&amp;feed=atom&amp;title=Socket</id>
	<title>Socket - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikimd.com/index.php?action=history&amp;feed=atom&amp;title=Socket"/>
	<link rel="alternate" type="text/html" href="https://wikimd.com/index.php?title=Socket&amp;action=history"/>
	<updated>2026-04-05T00:57:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.2</generator>
	<entry>
		<id>https://wikimd.com/index.php?title=Socket&amp;diff=6519462&amp;oldid=prev</id>
		<title>Prab: CSV import</title>
		<link rel="alternate" type="text/html" href="https://wikimd.com/index.php?title=Socket&amp;diff=6519462&amp;oldid=prev"/>
		<updated>2025-03-18T00:16:46Z</updated>

		<summary type="html">&lt;p&gt;CSV import&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:16, 18 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l65&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Computer-networking-stub}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Computer-networking-stub}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{No image}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{No image}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;__NOINDEX__&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prab</name></author>
	</entry>
	<entry>
		<id>https://wikimd.com/index.php?title=Socket&amp;diff=6264993&amp;oldid=prev</id>
		<title>Prab: CSV import</title>
		<link rel="alternate" type="text/html" href="https://wikimd.com/index.php?title=Socket&amp;diff=6264993&amp;oldid=prev"/>
		<updated>2025-02-11T00:06:31Z</updated>

		<summary type="html">&lt;p&gt;CSV import&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:06, 11 February 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l64&quot;&gt;Line 64:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 64:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Computer-networking-stub}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Computer-networking-stub}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{No image}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Prab</name></author>
	</entry>
	<entry>
		<id>https://wikimd.com/index.php?title=Socket&amp;diff=5880011&amp;oldid=prev</id>
		<title>Prab: CSV import</title>
		<link rel="alternate" type="text/html" href="https://wikimd.com/index.php?title=Socket&amp;diff=5880011&amp;oldid=prev"/>
		<updated>2024-06-01T22:15:49Z</updated>

		<summary type="html">&lt;p&gt;CSV import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Socket ==&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;&amp;#039;socket&amp;#039;&amp;#039;&amp;#039; is an endpoint for sending or receiving data across a computer network. Sockets are a fundamental technology for network communication, enabling different processes to communicate with each other, either on the same machine or across different machines.&lt;br /&gt;
&lt;br /&gt;
== Types of Sockets ==&lt;br /&gt;
There are several types of sockets, each serving different purposes:&lt;br /&gt;
&lt;br /&gt;
* [[Stream socket]]: Provides a reliable, two-way, connection-based byte stream. It uses the [[Transmission Control Protocol]] (TCP) for communication.&lt;br /&gt;
* [[Datagram socket]]: Provides connectionless, unreliable messaging. It uses the [[User Datagram Protocol]] (UDP) for communication.&lt;br /&gt;
* [[Raw socket]]: Allows direct sending and receiving of [[Internet Protocol]] (IP) packets without any protocol-specific transport layer formatting.&lt;br /&gt;
&lt;br /&gt;
== Socket Programming ==&lt;br /&gt;
Socket programming is the process of using sockets to create network applications. It involves the following steps:&lt;br /&gt;
&lt;br /&gt;
1. **Socket Creation**: Creating a socket using the appropriate system call.&lt;br /&gt;
2. **Binding**: Associating the socket with a specific [[IP address]] and [[port number]].&lt;br /&gt;
3. **Listening**: For server sockets, listening for incoming connections.&lt;br /&gt;
4. **Accepting Connections**: Accepting incoming connection requests.&lt;br /&gt;
5. **Data Transmission**: Sending and receiving data through the socket.&lt;br /&gt;
6. **Closing**: Closing the socket when communication is complete.&lt;br /&gt;
&lt;br /&gt;
== Socket API ==&lt;br /&gt;
The [[Berkeley sockets]] API is a widely used interface for socket programming. It provides a set of functions for creating and managing sockets, including:&lt;br /&gt;
&lt;br /&gt;
* `socket()`: Creates a new socket.&lt;br /&gt;
* `bind()`: Binds a socket to an address and port.&lt;br /&gt;
* `listen()`: Listens for incoming connections.&lt;br /&gt;
* `accept()`: Accepts an incoming connection.&lt;br /&gt;
* `connect()`: Connects a socket to a remote address.&lt;br /&gt;
* `send()`: Sends data through a socket.&lt;br /&gt;
* `recv()`: Receives data from a socket.&lt;br /&gt;
* `close()`: Closes a socket.&lt;br /&gt;
&lt;br /&gt;
== Applications ==&lt;br /&gt;
Sockets are used in a variety of applications, including:&lt;br /&gt;
&lt;br /&gt;
* [[Web server]]s and [[web browser]]s&lt;br /&gt;
* [[Email]] clients and servers&lt;br /&gt;
* [[File transfer]] applications&lt;br /&gt;
* [[Remote login]] services&lt;br /&gt;
* [[Peer-to-peer]] networks&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[Network socket]]&lt;br /&gt;
* [[Socket.IO]]&lt;br /&gt;
* [[Berkeley sockets]]&lt;br /&gt;
* [[Transmission Control Protocol]]&lt;br /&gt;
* [[User Datagram Protocol]]&lt;br /&gt;
* [[Internet Protocol]]&lt;br /&gt;
&lt;br /&gt;
== Related Pages ==&lt;br /&gt;
* [[Network socket]]&lt;br /&gt;
* [[Stream socket]]&lt;br /&gt;
* [[Datagram socket]]&lt;br /&gt;
* [[Raw socket]]&lt;br /&gt;
* [[Berkeley sockets]]&lt;br /&gt;
* [[Transmission Control Protocol]]&lt;br /&gt;
* [[User Datagram Protocol]]&lt;br /&gt;
* [[Internet Protocol]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer networking]]&lt;br /&gt;
[[Category:Internet protocols]]&lt;br /&gt;
[[Category:Network architecture]]&lt;br /&gt;
&lt;br /&gt;
{{Computer-networking-stub}}&lt;/div&gt;</summary>
		<author><name>Prab</name></author>
	</entry>
</feed>