<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
		<id>https://wiki.delphigl.com/index.php?action=history&amp;feed=atom&amp;title=SDLNet_TCP_Recv</id>
		<title>SDLNet TCP Recv - Versionsgeschichte</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.delphigl.com/index.php?action=history&amp;feed=atom&amp;title=SDLNet_TCP_Recv"/>
		<link rel="alternate" type="text/html" href="https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;action=history"/>
		<updated>2026-05-09T14:37:39Z</updated>
		<subtitle>Versionsgeschichte dieser Seite in DGL Wiki</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;diff=20513&amp;oldid=prev</id>
		<title>I0n0s: /* Beschreibung */</title>
		<link rel="alternate" type="text/html" href="https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;diff=20513&amp;oldid=prev"/>
				<updated>2007-04-30T14:49:45Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Beschreibung&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='de'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 30. April 2007, 14:49 Uhr&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-l28&quot; &gt;Zeile 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SDLNet_TCP_Recv liest verfügbare Daten, die über den Socket empfangen wurden. Bis zu ''maxlen'' Bytes werden gelesen und in ''data'' gespeichert. Wenn bisher keine Daten über den Socket empfangen wurden, dann wartet die Routine, bis etwas empfangen wird. Die Anzahl der kopierten Bytes kann kleiner als ''maxlen'' sein.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SDLNet_TCP_Recv liest verfügbare Daten, die über den Socket empfangen wurden. Bis zu ''maxlen'' Bytes werden gelesen und in ''data'' gespeichert. Wenn bisher keine Daten über den Socket empfangen wurden, dann wartet die Routine, bis etwas empfangen wird. Die Anzahl der kopierten Bytes kann kleiner als ''maxlen'' sein.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Aufgrund des Verhaltens von TCP&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/del&gt;kann ein Datenblock welcher vom Peer gesendet wurde, normalerweise nicht im gleichen Augenblick mit SDLNet_TCP_Recv gelesen werden. TCP ist ein Datenstrom-Protokoll, was heißt, dass alle Daten in der richtigen Reihenfolge ankommen, aber nicht unbedingt in den gleichen Blocks. Anwendungen, die mit Textzeilen kommunizieren (z.B. IRC) werden diese Routine öfter aufrufen und auf Zeilenenden prüfen müssen.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;Aufgrund des Verhaltens von TCP kann ein Datenblock&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;welcher vom Peer gesendet wurde, normalerweise nicht im gleichen Augenblick mit SDLNet_TCP_Recv gelesen werden. TCP ist ein Datenstrom-Protokoll, was heißt, dass alle Daten in der richtigen Reihenfolge ankommen, aber nicht unbedingt in den gleichen Blocks. Anwendungen, die mit Textzeilen kommunizieren (z.B. IRC) werden diese Routine öfter aufrufen und auf Zeilenenden prüfen müssen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Routine kann nicht für Server-Sockets verwendet werden.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Routine kann nicht für Server-Sockets verwendet werden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>I0n0s</name></author>	</entry>

	<entry>
		<id>https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;diff=20512&amp;oldid=prev</id>
		<title>Lord Horazont: /* Beschreibung */</title>
		<link rel="alternate" type="text/html" href="https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;diff=20512&amp;oldid=prev"/>
				<updated>2007-04-30T11:25:33Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Beschreibung&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='de'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Version vom 30. April 2007, 11:25 Uhr&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-l28&quot; &gt;Zeile 28:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 28:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SDLNet_TCP_Recv liest verfügbare Daten, die über den Socket empfangen wurden. Bis zu ''maxlen'' Bytes werden gelesen und in ''data'' gespeichert. Wenn bisher keine Daten über den Socket empfangen wurden, dann wartet die Routine, bis etwas empfangen wird. Die Anzahl der kopierten Bytes kann kleiner als ''maxlen'' sein.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;SDLNet_TCP_Recv liest verfügbare Daten, die über den Socket empfangen wurden. Bis zu ''maxlen'' Bytes werden gelesen und in ''data'' gespeichert. Wenn bisher keine Daten über den Socket empfangen wurden, dann wartet die Routine, bis etwas empfangen wird. Die Anzahl der kopierten Bytes kann kleiner als ''maxlen'' sein.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Aufgrund des Verhaltens von TCP, ein Datenblock welcher vom Peer gesendet wurde, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;kann &lt;/del&gt;normalerweise nicht im gleichen Augenblick mit SDLNet_TCP_Recv gelesen werden. TCP ist ein Datenstrom-Protokoll, was heißt, dass alle Daten in der richtigen Reihenfolge ankommen, aber nicht unbedingt in den gleichen Blocks. Anwendungen, die mit Textzeilen kommunizieren (z.B. IRC) werden diese Routine öfter aufrufen und auf Zeilenenden prüfen müssen.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;Aufgrund des Verhaltens von TCP, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;kann &lt;/ins&gt;ein Datenblock welcher vom Peer gesendet wurde, normalerweise nicht im gleichen Augenblick mit SDLNet_TCP_Recv gelesen werden. TCP ist ein Datenstrom-Protokoll, was heißt, dass alle Daten in der richtigen Reihenfolge ankommen, aber nicht unbedingt in den gleichen Blocks. Anwendungen, die mit Textzeilen kommunizieren (z.B. IRC) werden diese Routine öfter aufrufen und auf Zeilenenden prüfen müssen.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Routine kann nicht für Server-Sockets verwendet werden.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Diese Routine kann nicht für Server-Sockets verwendet werden.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;#160; Rückgabewert ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==&amp;#160; Rückgabewert ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Lord Horazont</name></author>	</entry>

	<entry>
		<id>https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;diff=20065&amp;oldid=prev</id>
		<title>Lord Horazont am 26. Dezember 2006 um 17:04 Uhr</title>
		<link rel="alternate" type="text/html" href="https://wiki.delphigl.com/index.php?title=SDLNet_TCP_Recv&amp;diff=20065&amp;oldid=prev"/>
				<updated>2006-12-26T17:04:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= SDLNet_TCP_Recv =&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Name ==&lt;br /&gt;
'''SDLNet_TCP_Recv''' - Daten von einem verbundenen Socket holen&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Delphi-Spezifikation ==&lt;br /&gt;
 function '''SDLNet_TCP_Recv'''( ''sock'' : PTCPsocket; ''data'' : Pointer; ''maxlen'' : integer ) : integer;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Parameter ==&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; rules=&amp;quot;all&amp;quot;&lt;br /&gt;
! ''sock'' &lt;br /&gt;
| muss ein gültiger und verbundener TCPSock sein.&lt;br /&gt;
|-&lt;br /&gt;
! ''data'' &lt;br /&gt;
| sollte auf den Anfang eines reservierten Speicherblock zeigen, in den die Daten geschrieben werden.&lt;br /&gt;
|-&lt;br /&gt;
! ''maxlen''&lt;br /&gt;
| ist die maximale Anzahl der Bytes, die gelesen werden sollen.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Beschreibung == &lt;br /&gt;
SDLNet_TCP_Recv liest verfügbare Daten, die über den Socket empfangen wurden. Bis zu ''maxlen'' Bytes werden gelesen und in ''data'' gespeichert. Wenn bisher keine Daten über den Socket empfangen wurden, dann wartet die Routine, bis etwas empfangen wird. Die Anzahl der kopierten Bytes kann kleiner als ''maxlen'' sein.&lt;br /&gt;
&lt;br /&gt;
Aufgrund des Verhaltens von TCP, ein Datenblock welcher vom Peer gesendet wurde, kann normalerweise nicht im gleichen Augenblick mit SDLNet_TCP_Recv gelesen werden. TCP ist ein Datenstrom-Protokoll, was heißt, dass alle Daten in der richtigen Reihenfolge ankommen, aber nicht unbedingt in den gleichen Blocks. Anwendungen, die mit Textzeilen kommunizieren (z.B. IRC) werden diese Routine öfter aufrufen und auf Zeilenenden prüfen müssen.&lt;br /&gt;
&lt;br /&gt;
Diese Routine kann nicht für Server-Sockets verwendet werden.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==  Rückgabewert ==&lt;br /&gt;
Gibt die Anzahl der Bytes zurück, die Empfangen wurden. Ein Rückgabewert von -1 bedeutet einen Fehler, ein Rückgabewert von 0 gibt an, dass die Verbindung vom Peer getrennt wurde.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Siehe auch ==&lt;br /&gt;
[[SDLNet_TCP_Send]], [[SDLNet_TCP_Accept]], [[SDLNet_TCP_Open]], [[SDLNet_TCP_GetPeerAddress]], [[SDLNet_TCP_Close]], [[TCPsocket]]&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:SDLNET|TCP_Recv]]&lt;/div&gt;</summary>
		<author><name>Lord Horazont</name></author>	</entry>

	</feed>