<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0">
  <channel>
    <title>Udvikleren.dk - Seneste [socket] forum tråde</title>
    <description>De seneste forum tråde i [socket] på Udvikleren.dk</description>
    <link>http://www.udvikleren.dk/</link>
    <pubDate>Wed, 29 Apr 2026 04:14:51 GMT</pubDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Udvikleren.dk RSS Feeder</generator>
    <ttl>60</ttl>
    <item>
      <title>Hjælp til programmeringsopgave java + socket (forståelse)</title>
      <description>Hej&lt;br /&gt;&lt;br /&gt;Har fået stillet en opgave som jeg har lidt svær ved og forstå 100%. Kan først få hjælp af kursusansvarlige efter vinterferien, da han er på skiferie &lt;img src="/images/smileys/bigeyes.gif" alt=":O" title=":O" /&gt;. Nå men opgavebeskrivelsen kommer her:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Opgaven er at skrive to programmer der simulerer en sensor (en temperatur sensor) og den del af kontrolsystemet til den intelligente bygning som opsamler data om bygningens tilstand; denne del kaldes serveren i denne opgave. De to programmer skal kommunikerer med hinanden ved hjælp af en socket.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Så langt har jeg forstået, vi har en server og klient over en TCP forbindelse hvor de kommunikere&lt;/b&gt;&lt;br /&gt; &lt;br /&gt;&lt;i&gt;Klienten skal producere en strøm af sensordata, i denne øvelse repræsenterer de en strøm af målinger fra en temperatursensor. Disse sensordata skal overholde det almindelige interval for indendørstemperaturer, dvs. ligge i intervallet mellem 14 og 24 grader, men der er frit valg omkring hvordan de produceres; de kan f.eks. læses fra tastaturet (enten som del af komandolinien eller fra tastaturet efter at programmet er startet), læses fra en enten fil eller en tabel med initialiseret data eller de kan produceres med hjælp fra en g&lt;b&gt;&lt;/b&gt;enerator af tilfældige tal.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Strøm af sensordata?? her er jeg lidt i tvivl, er der noget i java der hedder sensor data, eller mener opgaven bare fx en generator der producerer tal af integers random i intervallet 14-24?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Klienten skal sende denne kontinuerte strøm af sensor data til serveren ved brug af en socket. Sensor data skal konverteres til bytes (enten en enkelt byte eller et byte array) før det sendes til serveren. Det er helt frit hvordan dette gøres, men den indbyggede serialiseringsfunktion må ikke benyttes til at sende strukturerede data (i denne forbindelse regnes en "integer" bestående af 4 eller 8 bytes som struktureret data, idet forskellige maskinarkitekturer har forskellige repræsentationer af heltal).&lt;br /&gt;Serveren modtager sensor data fra klienten og udregner et løbende gennemsnit som løbende enten gemmes i en fil eller udskrives på skærmen.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Igen i tvivl, noget data der skal sendes fra klient til server. Dette er jo nemt nok, men alt det der konverterings halløj forstår jeg ikke helt, men noget kunne tyde på det ik bare er integers man sender til serveren &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;???&lt;br /&gt;&lt;br /&gt;Håber en eller flere vil diskuttere lidt med mig omkring denne opgave inden jeg går igang!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
      <link>http://www.udvikleren.dk/forum/46451/hjaelp-til-programmeringsopgave-java-+-socket-(forstaaelse)/</link>
      <pubDate>Sat, 07 Feb 2015 23:14:50 GMT</pubDate>
    </item>
    <item>
      <title>PHP Socket gennem proxy</title>
      <description>Hej Udviklere!&lt;br /&gt;&lt;br /&gt;Jeg er i gang med at rode med sockets kald og har brug for lidt hjælp.&lt;br /&gt;&lt;br /&gt;Jeg har lavet følgende kode som fungere:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://dk1.php.net/manual/en/book.sockets.php"&gt;http://dk1.php.net/manual/en/book.sockets.php&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="codeboxheader" id="code_1743340295" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1743340295_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;PHP kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1743340295code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #800080;"&gt;$ip&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #800080;"&gt;$port&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #800080;"&gt;$data&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #800080;"&gt;$proxyip&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #800080;"&gt;$proxyport&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #800080;"&gt;$_sock&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; socket_create(AF_INET&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SOCK_STREAM&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SOL_TCP);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;socket_set_option(&lt;/span&gt;&lt;span style="color: #800080;"&gt;$_sock&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SOL_SOCKET&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SO_REUSEADDR&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;socket_connect(&lt;/span&gt;&lt;span style="color: #800080;"&gt;$_sock&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;$ip&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;$port&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;socket_set_option(&lt;/span&gt;&lt;span style="color: #800080;"&gt;$_sock&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SOL_SOCKET&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SO_SNDTIMEO&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;array&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;sec&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;usec&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;));&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;socket_set_option(&lt;/span&gt;&lt;span style="color: #800080;"&gt;$_sock&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SOL_SOCKET&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; SO_RCVTIMEO&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;array&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;sec&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;usec&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;));&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;socket_write(&lt;/span&gt;&lt;span style="color: #800080;"&gt;$_sock&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #800080;"&gt;$data&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #008080;"&gt;strlen&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #800080;"&gt;$data&lt;/span&gt;&lt;span style="color: #000000;"&gt;));&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Men jeg har brug for lidt hjælp til at få $data til at blive sendt til $ip&amp;$port over en proxy ($proxyip &amp; $proxyport)&lt;br /&gt;men jeg kan ikke rigtig se hvordan jeg skal gøre på php.net så håber en herinde kan hjælpe mig.&lt;br /&gt;Det kan også laves om til andet løsning hvis det ikke er muligt at bruge proxy med den løsning jeg har valgt.&lt;br /&gt;&lt;br /&gt;På forhånd tak!</description>
      <link>http://www.udvikleren.dk/forum/46044/php-socket-gennem-proxy/</link>
      <pubDate>Sat, 07 Jun 2014 16:14:45 GMT</pubDate>
    </item>
    <item>
      <title>Java Socket vil ikke forbinde til irc channel</title>
      <description>Jeg er igang med at kode en irc-bot der ligger og lytter til irc.freenode.net #archlinux. (Et eller andet skulle den lytte til, skifter channel når jeg har lavet det færdigt). Så snart der bliver skrevet "tihifnislolkage" inde på #archlinux, så skulle min bot gerne eksekvere notepad via CMD. &lt;br /&gt;&lt;br /&gt;Det ser ud til at den connecter helt fint til irc.freenode.net, da jeg får dette output:&lt;br /&gt;&lt;div class="codeboxheader" id="code_1468488220" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1468488220_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1468488220code" style="border-top: 0px; display: none;"&gt;Tries to connect to server at: irc.freenode.net 6665
Connection established (with irc.freenode.net/94.125.182.252:6665)&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Da jeg connecter min socket til irc.freenode.net her:&lt;br /&gt;&lt;div class="codeboxheader" id="code_312057264" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_312057264_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Java kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_312057264code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;////&lt;/span&gt;&lt;span style="color: #008000;"&gt; Socket&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Tries to connect to server at: &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; serverName &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; port);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        client &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Socket(serverName, port);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Connection established (with &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; client.getRemoteSocketAddress() &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Jeg bruger en Thread til at lytte på kanalen. Det hele ser ud til at gå helt fint, indtil programmet har kørt i et minut eller sådan noget. Så får jeg IOException. Her er run metoden: &lt;br /&gt;&lt;div class="codeboxheader" id="code_1493852938" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1493852938_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Java kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1493852938code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Run method (Overwrites from the Thread class)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;run method&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Listens to the IRC server&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                String messageFromServer &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; input.readUTF();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                System.out.println(messageFromServer);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(messageFromServer.equals(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;tihifnislolkage&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;))&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    String command &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;cmd /c start notepad&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    Process child &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runtime.getRuntime().exec(command);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            }&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt;(IOException e){System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Something wrong with run method in SocketClient.java&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);}&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    }&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Her er alt min kode&lt;br /&gt;&lt;br /&gt;Main.java&lt;br /&gt;&lt;div class="codeboxheader" id="code_494955909" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_494955909_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Java kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_494955909code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.IOException;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.net.UnknownHostException;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; Main &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; main(String args[]) &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;throws&lt;/span&gt;&lt;span style="color: #000000;"&gt; UnknownHostException, IOException&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        Thread whatevah &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; SocketClient();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        whatevah.start();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;SocketClient.java&lt;br /&gt;&lt;div class="codeboxheader" id="code_294526941" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_294526941_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Java kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_294526941code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.DataInputStream;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.DataOutputStream;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.IOException;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.InputStream;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.OutputStream;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.net.Socket;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.net.UnknownHostException;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.util.Random;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; SocketClient &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;extends&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//////////////&lt;/span&gt;&lt;span style="color: #008000;"&gt;NETWORKING STUFF&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    String serverName; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; name of the server/host we're going to connect to&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; port; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; The port we're going to connect to, on the given server&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    String name; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; IRC username&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    Socket client; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; The socket&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    OutputStream outputToServer; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; The output stream - the canal we're going to use to send data TO the host.&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    DataOutputStream output; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; A translator that translate the datatypes we know into raw data (bytes/packets)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    InputStream inputFromServer; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; The input stream - the canal we're going to use to receive data FROM the host&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    DataInputStream input; &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; A translator that translate the raw bytes/packets into datatypes we know&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; CONSTRUCTAH&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; SocketClient() &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;throws&lt;/span&gt;&lt;span style="color: #000000;"&gt; UnknownHostException, IOException&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        init();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        hookupshit();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Method for sending the irc channel some shitty ass pingy fuck data&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; hookupshit() &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;throws&lt;/span&gt;&lt;span style="color: #000000;"&gt; IOException&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;hookupshit method&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Generating a name&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        Random random &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Random();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; a &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; random.nextInt(&lt;/span&gt;&lt;span style="color: #000000;"&gt;99999&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        String tit &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; String.valueOf(a);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        name &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;a&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; tit;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Your name iz: &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; name);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        output.writeUTF(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;NICK &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; name &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;\n\r&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        output.writeUTF(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;USER &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; name &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; whatever.pc &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; serverName &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Jake Maniel&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        output.writeUTF(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;JOIN #archlinux&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; INIT METHOD&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; init() &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;throws&lt;/span&gt;&lt;span style="color: #000000;"&gt; UnknownHostException, IOException&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;init method&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        serverName &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;irc.freenode.net&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        port &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;6665&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;//////////&lt;/span&gt;&lt;span style="color: #008000;"&gt;/Init of networking stuff like socket and streams &lt;/span&gt;&lt;span style="color: #008000;"&gt;////////&lt;/span&gt;&lt;span style="color: #008000;"&gt;/&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Inits networking stuff&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;////&lt;/span&gt;&lt;span style="color: #008000;"&gt; Socket&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Tries to connect to server at: &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; serverName &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; port);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        client &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Socket(serverName, port);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Connection established (with &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; client.getRemoteSocketAddress() &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;////&lt;/span&gt;&lt;span style="color: #008000;"&gt; Output Streams&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Tries to establish output streams&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;     OutputStream (Raw data)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        outputToServer &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; client.getOutputStream();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Established OutputStream&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;     DataOutputStream (translated data));&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        output &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; DataOutputStream(outputToServer); &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Passes the outputStream that can send raw data&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Established DataOutputStream&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;////&lt;/span&gt;&lt;span style="color: #008000;"&gt; Input Streams&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;\nTries to establish input streams&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;     InputStream (Raw data)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        inputFromServer &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; client.getInputStream();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Established InputStream&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;     DataInputStream (translated data)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        input &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; DataInputStream(inputFromServer); &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Passes the inputFromServer that receives the raw data&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Established DataInputStream&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Run method (Overwrites from the Thread class)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;run method&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Listens to the IRC server&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                String messageFromServer &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; input.readUTF();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                System.out.println(messageFromServer);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt;(messageFromServer.equals(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;tihifnislolkage&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;))&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    String command &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;cmd /c start notepad&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    Process child &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runtime.getRuntime().exec(command);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            }&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt;(IOException e){System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Something wrong with run method in SocketClient.java&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);}&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Her er mit output, inden jeg får error: &lt;br /&gt;&lt;div class="codeboxheader" id="code_1544291987" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1544291987_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1544291987code" style="border-top: 0px; display: none;"&gt;init method
Inits networking stuff
Tries to connect to server at: irc.freenode.net 6665
Connection established (with irc.freenode.net/64.32.24.176:6665)
Tries to establish output streams
Established OutputStream
Established DataOutputStream

Tries to establish input streams
Established InputStream
Established DataInputStream
hookupshit method
Your name iz: a22011
run method
Listens to the IRC server
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Her er mit output, efter jeg får error:&lt;br /&gt;&lt;div class="codeboxheader" id="code_1114070870" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1114070870_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1114070870code" style="border-top: 0px; display: none;"&gt;Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server
Something wrong with run method in SocketClient.java
Listens to the IRC server&lt;/pre&gt;</description>
      <link>http://www.udvikleren.dk/forum/40095/java-socket-vil-ikke-forbinde-til-irc-channel/</link>
      <pubDate>Sat, 13 Jul 2013 12:10:41 GMT</pubDate>
    </item>
    <item>
      <title>Http java webserver - tutorials/hints</title>
      <description>Sidder og vil prøve at lave en webserver i java. Den skal kunne forstå http/1.0 og GET requests. &lt;br /&gt;Derudover skal den gerne kunne tilbyde at vise filer fra et www directory og sende en http 200 besked tilbage, samt filens indhold. i 200 requestens header skulle der også gerne være nogle linjer der viser filtype og filstørrelse. Man skulle gerne kunne tilgå filerne via browseren, men har ikke rigtig nogen ide om hvordan eller hvad der skal skrives i browseren for at gøre dette.&lt;br /&gt;&lt;br /&gt;Jeg synes virkelig jeg har ledt over alt for at finde nogle guides/tutorials, men kan kun finde færdige løsninger uden forklaringer. Så håber at nogen herinde ligger inde med noget der kunne hjælpe mig på vej</description>
      <link>http://www.udvikleren.dk/forum/39675/http-java-webserver-tutorials-hints/</link>
      <pubDate>Thu, 07 Mar 2013 21:45:29 GMT</pubDate>
    </item>
    <item>
      <title>Socket program - flere clients til en server</title>
      <description>Sidder og prøver at lave en server der kan tage imod flere klienter, som kan snakke med hinanden. Synes jeg har prøvet det ene og det andet, men kan simpelthen ikke få det til at virke. &lt;br /&gt;&lt;br /&gt;Efter de sidste ændringer er den begyndt at opføre sig lidt mærkeligt.. når jeg køre to clients op mod serveren skriver den de fleste gange den besked man lige har indtastet så man selv kan se den (andre klienter kan ikke se den) og nogle gange står der "FROM SOME CLIENT" foran, men ikke hver gang.. ?? en sjælden gang imellem sker der aktivitet hos den anden(andre) klienter hvor den laver et linje skift hos den anden klient når man indtaster en besked.. har virkelig ingen ide hvad jeg gør galt. &lt;br /&gt;&lt;br /&gt;Her er min kode:&lt;br /&gt;&lt;br /&gt;TCPServer.java:&lt;br /&gt;&lt;div class="codeboxheader" id="code_1618419196" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_1618419196_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Java kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_1618419196code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.BufferedReader;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.DataOutputStream;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.IOException;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.InputStreamReader;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.PrintStream;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.net.ServerSocket;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.net.Socket;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.util.ArrayList;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.util.List;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; TCPServer {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread threadClients;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread threadWriteToClients;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread threadServerCommands;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; ServerSocket welcomeSocket;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; List&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Socket&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; clientsArray &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; ArrayList&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Socket&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;boolean&lt;/span&gt;&lt;span style="color: #000000;"&gt; go_on &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; String sentence; &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; String serverCMD;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Socket connectionSocket;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; PrintStream outToClient;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;     &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; main(String argv[]) &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;throws&lt;/span&gt;&lt;span style="color: #000000;"&gt; Exception &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;     { &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;starting main&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);          &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         welcomeSocket &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; ServerSocket(&lt;/span&gt;&lt;span style="color: #000000;"&gt;2345&lt;/span&gt;&lt;span style="color: #000000;"&gt;);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Server socket klar&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Laver sockets til hver enkel Client (accepterer)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;         threadClients &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runnable() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(go_on) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt; {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            connectionSocket &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; welcomeSocket.accept();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            clientsArray.add(connectionSocket);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt; (IOException e) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            e.printStackTrace();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            });&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         threadClients.start();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Traad til at skrive til samtlige clients&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;         threadWriteToClients &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runnable() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(go_on) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt; {        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #000000;"&gt; clientsArray.size(); i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) {    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            connectionSocket &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; clientsArray.get(i);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            BufferedReader inFromClient &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; BufferedReader(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; InputStreamReader(connectionSocket.getInputStream()));&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            sentence &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inFromClient.readLine(); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                outToClient &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; PrintStream(clientsArray.get(i).getOutputStream());&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                outToClient.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;FROM SOME CLIENT: &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; sentence &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;\n&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);     &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                outToClient.flush();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            }                        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt; (Exception e) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            e.printStackTrace();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            });&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         threadWriteToClients.start();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; SERVER kommandoer (gaar ogsaa ud til clients)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;         threadServerCommands &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runnable() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    BufferedReader inFromUser &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; BufferedReader(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; InputStreamReader(System.in));  &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(go_on) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt; {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            serverCMD &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inFromUser.readLine();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;for&lt;/span&gt;&lt;span style="color: #000000;"&gt; (&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;; i &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;lt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; clientsArray.size(); i&lt;/span&gt;&lt;span style="color: #000000;"&gt;++&lt;/span&gt;&lt;span style="color: #000000;"&gt;) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                outToClient &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; PrintStream(clientsArray.get(i).getOutputStream());&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                outToClient.println(serverCMD &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;\n&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;);     &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            }    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (serverCMD.equals(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;quit&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;)) { &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                go_on &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;; &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;quitting the loop and closing the socket&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                  connectionSocket.close();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                                  welcomeSocket.close();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt; (IOException e) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            e.printStackTrace();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            });&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         threadServerCommands.start();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;   &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;     &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;TCPClient.java&lt;br /&gt;&lt;div class="codeboxheader" id="code_241175481" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_241175481_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;Java kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_241175481code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.io.&lt;/span&gt;&lt;span style="color: #000000;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;; &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;import&lt;/span&gt;&lt;span style="color: #000000;"&gt; java.net.&lt;/span&gt;&lt;span style="color: #000000;"&gt;*&lt;/span&gt;&lt;span style="color: #000000;"&gt;; &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;class&lt;/span&gt;&lt;span style="color: #000000;"&gt; TCPClient&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread outputThread;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread inputThread;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;boolean&lt;/span&gt;&lt;span style="color: #000000;"&gt; go_on &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; String sentence;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; Socket clientSocket;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; DataOutputStream outToServer;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; BufferedReader inFromServer;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt;  BufferedReader inFromUser;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;static&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; main(String argv[]) &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;throws&lt;/span&gt;&lt;span style="color: #000000;"&gt; Exception &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    { &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;starting TCP chat program&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         inFromUser &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; BufferedReader(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; InputStreamReader(System.in)); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Forbinder til server&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         clientSocket &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Socket(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;127.0.0.1&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #000000;"&gt;2345&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Der er forbindelse til serveren! \n&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         outToServer &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; DataOutputStream(clientSocket.getOutputStream()); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         inFromServer &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; BufferedReader(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; InputStreamReader(clientSocket.getInputStream())); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;         &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt; Output (fra client'en til server)&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;         outputThread &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runnable() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(go_on) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt; {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            System.out.println(&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Please type your text: &lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            sentence &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inFromUser.readLine();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            outToServer.writeBytes(sentence &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;\n&lt;/span&gt;&lt;span style="color: #000000;"&gt;'&lt;/span&gt;&lt;span style="color: #000000;"&gt;); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt; (IOException e) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                            e.printStackTrace();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            });&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;          outputThread.start();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;      &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;          inputThread &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Thread(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; Runnable() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;public&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; run() {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;while&lt;/span&gt;&lt;span style="color: #000000;"&gt;(go_on) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt; {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        sentence &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; inFromServer.readLine();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        System.out.println(sentence); &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    } &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt; (IOException e) {&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                        e.printStackTrace();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                    } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;try&lt;/span&gt;&lt;span style="color: #000000;"&gt; { clientSocket.close(); } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;catch&lt;/span&gt;&lt;span style="color: #000000;"&gt; (IOException e) { e.printStackTrace(); } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;            }&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        });&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;          inputThread.start();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;       &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;                   &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    } &lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;</description>
      <link>http://www.udvikleren.dk/forum/39669/socket-program-flere-clients-til-en-server/</link>
      <pubDate>Thu, 07 Mar 2013 12:14:30 GMT</pubDate>
    </item>
    <item>
      <title>Sende data - Hvor meget og hvornår?</title>
      <description>Hej udviklere!&lt;br /&gt;&lt;br /&gt;Jeg er ved at skrive et program der modtager en konstant strøm af data - lille men vedvarende (nogle bytes i sekundet). Denne data vil jeg sende til en server der har til opgave at "processe" disse data. Mit spørgsmål til jer er først og fremmest: hvordan skal jeg gøre det? Jeg har allerede implementeret et forholdsvist stabilt IP og Socket library (tak Robert Larsen og MSDN) som har funtionalitet til at sende og modtage data. Men &lt;b&gt;hvornår&lt;/b&gt; skal jeg sende data fra klienten? Så snart den modtager et par bytes, så sende dem afsted eller skal jeg hobe dem op og sende pakker med data i et givent interval? Hvad er fordelene og ulemperne ved hver respektive fremgangsmåde?&lt;br /&gt;&lt;br /&gt;Et bonus spørgsmål som jeg har tænkt over, er hvilket design pattern jeg skal bruge. Jeg har som sagt en klasse der modtager noget data af en method &lt;i&gt;#append&lt;/i&gt;. Jeg har overvejet (da jeg kommer fra JavaScript) at implementere noget callback funktionalitet hvor en klasse nedarver fra en Listener klasse og implementerer en virtuel funktion, men jeg har også bare overvejet at bruge function pointers. En anden tilgang kunne være at implementere socket kaldende direkte i den klasse der modtager data'en - men det vil jeg helst undgå da dette ville være et ret stort tab af generalitet og ville genere min modul-stræbende hjerne.&lt;br /&gt;&lt;br /&gt;Any ideas? &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;</description>
      <link>http://www.udvikleren.dk/forum/36403/sende-data-hvor-meget-og-hvornaar/</link>
      <pubDate>Mon, 02 Jan 2012 13:51:00 GMT</pubDate>
    </item>
    <item>
      <title>Mangler: simpel C++ Sockets guide</title>
      <description>Hej gutter!&lt;br /&gt;&lt;br /&gt;Jeg ville lige høre om nogen af jer kendte til en super god og simpel guide til at lære C++ Socket programming på Linux?&lt;br /&gt;&lt;br /&gt;Jeg har søgt lidt rundt, men har ikke fundet noget helt vildt endnu.&lt;br /&gt;&lt;br /&gt;Jeg vil gerne have en hjemmeside med en god guide, og en tilhørende reference.&lt;br /&gt;&lt;br /&gt;På forhånd tak.&lt;br /&gt;&lt;br /&gt;Mvh,&lt;br /&gt;Dwatten</description>
      <link>http://www.udvikleren.dk/forum/35615/mangler-simpel-c++-sockets-guide/</link>
      <pubDate>Sat, 15 Oct 2011 13:22:40 GMT</pubDate>
    </item>
    <item>
      <title>Asynkron socket operation i C#</title>
      <description>Hej udviklere.&lt;br /&gt;&lt;br /&gt;Sidder og kigger på en lille form der opretter forbindelse til en Socket. Har en background worker der starter forbindelsen asynkront fordi jeg gerne vil have mulighed for at annullere forbindelsesforsøget. Det relevante kodestykke er her:&lt;br /&gt;&lt;br /&gt;&lt;div class="codeboxheader" id="code_545769312" onclick="ToggleCodeBox(this.id);"&gt;&lt;img id="code_545769312_arrow" src="/images/icons/codeboxarrow_down.gif" alt="Fold kodeboks ind/ud" title="Fold kodeboks ind/ud" /&gt;CSharp kode&amp;nbsp;&lt;/div&gt;&lt;pre id="code_545769312code" style="border-top: 0px; display: none;"&gt;&lt;ol&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; Connect()&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    TcpClient tcpClient &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; TcpClient();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    _connecting &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;true&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    tcpClient.BeginConnect(textAddress.Text, &lt;/span&gt;&lt;span style="color: #800080;"&gt;4567&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; AsyncCallback(ConnectCallback), tcpClient);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;BLOCK UNTIL RESULT OR CANCELLATION&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;if&lt;/span&gt;&lt;span style="color: #000000;"&gt; (backgroundWorker.CancellationPending)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;CANCEL ASYNC CONNECTING HERE&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;else&lt;/span&gt;&lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;        &lt;/span&gt;&lt;span style="color: #008000;"&gt;//&lt;/span&gt;&lt;span style="color: #008000;"&gt;GOT VALID CONNECTION - DO MORE STUFF PERHAPS&lt;/span&gt;&lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #008000;"&gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; ConnectCallback(IAsyncResult ar)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    TcpClient tcpClient &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; (TcpClient)ar.AsyncState;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    tcpClient.EndConnect(ar);&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    _connecting &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;false&lt;/span&gt;&lt;span style="color: #000000;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;private&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;void&lt;/span&gt;&lt;span style="color: #000000;"&gt; backgroundWorker_DoWork(&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;object&lt;/span&gt;&lt;span style="color: #000000;"&gt; sender, DoWorkEventArgs e)&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;{&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;    Connect();&lt;/span&gt;&lt;/li&gt;&lt;li style="padding: 0; margin: 0;"&gt; &lt;span style="color: #000000;"&gt;}&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Det mine problemer er:&lt;br /&gt;1. Jeg vil blokere background worker tråden indtil den får en cancellation request eller en forbindelse er fastslået (eller ikke). Det jeg mangler her ved kommentarerne. Et af mine problemer her er også at jeg ikke har fundet ud af hvordan man annullerer en async operation.&lt;br /&gt;2. Underlig nok bliver hele programmet lukket ned, medmindre, jeg kommenterer tcpClient.EndConnect(ar);. Hvilket jeg ikke forstår siden background workeren kører i en anden tråd?&lt;br /&gt;3. Hvor skal mine exception håndtering være henne? På MSDN står der 5 exceptions både for BeginConnect og for EndConnect.&lt;br /&gt;&lt;br /&gt;På forhånd mange tak &lt;img src="/images/smileys/smiley.gif" alt=":)" title=":)" /&gt;</description>
      <link>http://www.udvikleren.dk/forum/34543/asynkron-socket-operation-i-c%23/</link>
      <pubDate>Fri, 03 Jun 2011 15:15:24 GMT</pubDate>
    </item>
  </channel>
</rss>