<?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[IP Adressfeld mit Funktion ?]]></title><description><![CDATA[<p>Hallo nochmal,</p>
<p>nachdem &quot;alles&quot; funktioniert hat, möchte ich nun in das IP Adress Feld eine Ip einfügen und er soll so connecten wie bei eingabe einer URL</p>
<p>Frage:<br />
-----</p>
<p>Geht das ?</p>
<p>und wenn ja welchen befehl muss ich nehmen ..</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/50945/ip-adressfeld-mit-funktion</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 10:43:55 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/50945.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Oct 2003 15:36:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IP Adressfeld mit Funktion ? on Sun, 05 Oct 2003 15:36:38 GMT]]></title><description><![CDATA[<p>Hallo nochmal,</p>
<p>nachdem &quot;alles&quot; funktioniert hat, möchte ich nun in das IP Adress Feld eine Ip einfügen und er soll so connecten wie bei eingabe einer URL</p>
<p>Frage:<br />
-----</p>
<p>Geht das ?</p>
<p>und wenn ja welchen befehl muss ich nehmen ..</p>
<p>Danke <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/366306</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/366306</guid><dc:creator><![CDATA[**SevenUp**]]></dc:creator><pubDate>Sun, 05 Oct 2003 15:36:38 GMT</pubDate></item><item><title><![CDATA[Reply to IP Adressfeld mit Funktion ? on Tue, 07 Oct 2003 04:46:09 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">CIPAddressCtrl	m_ip;
	AfxSocketInit(NULL);
	hostent *hEnt = 0;
	char hostname[20];
	gethostname(hostname,20);
	hEnt = gethostbyname( hostname );
    if ( hEnt )
	{
		m_ip.SetWindowText(inet_ntoa( *(LPIN_ADDR)*hEnt-&gt;h_addr_list ));
	}
</code></pre>
<p>Jetzt steht deine aktuelle IP im IPAddressCtrl.<br />
Ja es geht das man zu einem Rechner connectet (Socket) wenn man eine adresse aus dem IPAddressCtrl ausließt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/367219</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/367219</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 07 Oct 2003 04:46:09 GMT</pubDate></item></channel></rss>