<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Auflösen von externen Symbolen]]></title><description><![CDATA[<p>Ich bekomme immer die Fehlermeldung:</p>
<p><em>error LNK2001: Nichtaufgelöstes externes Symbol &quot;unsigned int __stdcall _socket(int,int,int)&quot; (?_socket@@$$J212YGIHHH@Z)</em></p>
<p>beim Verlinken (nach dem Kompilieren) in der obj-Datei.<br />
Wie kann ich den Funktionsaufruf auflösen und somit diesen Fehler beseitigen.</p>
<pre><code class="language-cpp">#define AF_INET         2               /* internetwork: UDP, TCP, etc. */
#define SOCK_STREAM     1               /* stream socket */
void main(){
	unsigned int __stdcall socket (int af, int type, int protocol);
	unsigned int iClient;
	iClient = socket (AF_INET, SOCK_STREAM, 0);
}
</code></pre>
<p>Ohne den Aufruf __stdcall (also: unsigned int socket (int af, int type, int protocol);) erfolgt die Fehlermeldung:</p>
<p><em>error LNK2001: Nichtaufgelöstes externes Symbol &quot;unsigned int __cdecl socket(int,int,int)&quot; (?socket@@$$J0YAIHHH@Z)</em></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/48201/auflösen-von-externen-symbolen</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 13:39:45 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/48201.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 06 Sep 2003 12:43:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Auflösen von externen Symbolen on Sat, 06 Sep 2003 12:43:51 GMT]]></title><description><![CDATA[<p>Ich bekomme immer die Fehlermeldung:</p>
<p><em>error LNK2001: Nichtaufgelöstes externes Symbol &quot;unsigned int __stdcall _socket(int,int,int)&quot; (?_socket@@$$J212YGIHHH@Z)</em></p>
<p>beim Verlinken (nach dem Kompilieren) in der obj-Datei.<br />
Wie kann ich den Funktionsaufruf auflösen und somit diesen Fehler beseitigen.</p>
<pre><code class="language-cpp">#define AF_INET         2               /* internetwork: UDP, TCP, etc. */
#define SOCK_STREAM     1               /* stream socket */
void main(){
	unsigned int __stdcall socket (int af, int type, int protocol);
	unsigned int iClient;
	iClient = socket (AF_INET, SOCK_STREAM, 0);
}
</code></pre>
<p>Ohne den Aufruf __stdcall (also: unsigned int socket (int af, int type, int protocol);) erfolgt die Fehlermeldung:</p>
<p><em>error LNK2001: Nichtaufgelöstes externes Symbol &quot;unsigned int __cdecl socket(int,int,int)&quot; (?socket@@$$J0YAIHHH@Z)</em></p>
]]></description><link>https://www.c-plusplus.net/forum/post/348463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/348463</guid><dc:creator><![CDATA[Falk2003]]></dc:creator><pubDate>Sat, 06 Sep 2003 12:43:51 GMT</pubDate></item><item><title><![CDATA[Reply to Auflösen von externen Symbolen on Sat, 06 Sep 2003 13:08:57 GMT]]></title><description><![CDATA[<p>Du brauchst die Bibliotheks- oder Objektdatei, in der socket(int,int,int) implementiert ist.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/348475</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/348475</guid><dc:creator><![CDATA[*aleph_0]]></dc:creator><pubDate>Sat, 06 Sep 2003 13:08:57 GMT</pubDate></item><item><title><![CDATA[Reply to Auflösen von externen Symbolen on Sat, 06 Sep 2003 13:50:32 GMT]]></title><description><![CDATA[<p>Ich hab die Deklaration aus der Bibliotheksdatei &quot;Winsock.h&quot; herauskopiert und in mein Programm eingefügt.</p>
<p>Ich würde sagen die Deklaration ist:<br />
<em>unsigned int __stdcall socket (int af, int type, int protocol);</em><br />
oder?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/348497</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/348497</guid><dc:creator><![CDATA[Falk2003]]></dc:creator><pubDate>Sat, 06 Sep 2003 13:50:32 GMT</pubDate></item></channel></rss>