<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=30&amp;t=13401&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-10-30T21:44:34+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=30&amp;t=13401&amp;mode</id>
<entry>
<author><name><![CDATA[RafPe]]></name></author>
<updated>2015-10-30T21:44:34+01:00</updated>
<published>2015-10-30T21:44:34+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=13401&amp;p=143848#p143848</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=13401&amp;p=143848#p143848"/>
<title type="html"><![CDATA[Re: Ulepszenie serwera udp]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=13401&amp;p=143848#p143848"><![CDATA[
tutaj masz na forum <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> <br /><br />Part 1 : <!-- l --><a class="postlink-local" href="http://forum.atnel.pl/topic8960.html" >topic8960.html</a><!-- l --><br />Part 2 : <!-- l --><a class="postlink-local" href="http://forum.atnel.pl/topic8978.html" >topic8978.html</a><!-- l --><br />Part 3 : <!-- l --><a class="postlink-local" href="http://forum.atnel.pl/topic9159.html" >topic9159.html</a><!-- l --><br /><br />Tam masz wszystko opisane <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4344">RafPe</a> — 30 paź 2015, o 21:44</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[SoundBlaster]]></name></author>
<updated>2015-10-30T20:29:00+01:00</updated>
<published>2015-10-30T20:29:00+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=13401&amp;p=143830#p143830</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=13401&amp;p=143830#p143830"/>
<title type="html"><![CDATA[Ulepszenie serwera udp]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=13401&amp;p=143830#p143830"><![CDATA[
Witam<br />Mam następujące pytanie<br /> [syntax=csharp]private void button1_Click(object sender, EventArgs e)<br />        {<br />            UdpClient udpClient = new UdpClient(8080);<br />            while(true)<br />            {<br />                IPEndPoint ip= new IPEndPoint(IPAddress.Any, 0);<br />                Byte&#91;&#93; bytes= udpClient.Receive(ref ip);<br />                string data = Encoding.ASCII.GetString(bytes);<br />                listBox1.Items.Add(ip.Address.ToString() + &quot; : &quot; + data);<br />                this.Refresh();<br />            }<br />        }[/syntax]<br /><br />napisałem kod jak wyżej, uruchamiam nim serwer udp, przesyłam dane z telefonu i wszystko pięknie śmiga, lecz program jest &quot;zablokowany&quot;, jestem pewny, że trzeba zrobić to jakoś w wątku, tylko jak? I tu mam pytanie do Was <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> Chciałbym, aby program odbierał dane i można było na nim robić coś innego także, choćby wysyłanie, a tak niezbyt to się da <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> <br /><br />Z góry wielkie dzięki <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=5370">SoundBlaster</a> — 30 paź 2015, o 20:29</p><hr />
]]></content>
</entry>
</feed>