Everything posted by Wife
-
Help with .NET Sockets C#
Tried multiple different ports. Currently usins 32567, still the same.
-
Help with .NET Sockets C#
Ok. Im trying to create a simple TCP Client / Server. The problem I'm having is with !System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it. My best bet is that the socket listener is not working, but I could not figure out why. Any help is appreciated. public partial class Primary : Form { public static int port = 80; public static TcpListener listener = new TcpListener(IPAddress.Any, port); public static Thread conn = new Thread(awaitConnection); static void awaitConnection() { listener.Start(); listener.AcceptSocket(); MessageBox.Show("New Connection received."); } public Primary() { InitializeComponent(); } private void Primary_Load(object sender, EventArgs e) { conn.Start(); } private void toolStripStatusLabel1_Click(object sender, EventArgs e) { } } and class Program { public static TcpClient client; public static int port = 80; //Connection port public static string ipaddress = "25.52.118.139"; //Connection IP Address static void Main(string[] args) { client = new TcpClient(); try { do { client.Connect(IPAddress.Parse(ipaddress), port); //Establish and maintain connection until it's no longer available. } while (client.Connected != true); } catch(Exception err) { Console.WriteLine ("Error!" + err); } } }
-
memest best
- i disagree with what you say ..
- Do you know the person above you? Do you like them? Do you trust them?
never trust a weeb- despacito
deeeespaaaaciito i dont know the words, so i say burrito.- PH levels in water
PH Levels vary even on groundwater from 6pH to over 8pH. It's completely normal if you buy 2 bottles of water and they have different levels of pH. Also pH can not be alone used as a method of measure when it comes to drinking water. Stupid yankee bitch teaching bullshit to her kid.- how many hours a day do you spend on the computer?
5 hours / week maybe.- Is this true? Can someone check pls. Thx.
Seems like it. Tho in this picture it failed to copy file from the location.- Last night I was drunk
Exactly. I'd rather bring my money to an company that can tell me their contract terms before making the contract via customer service.- Last night I was drunk
I am currently in a 2 year long contract hell with Telia.- Last night I was drunk
Implying that fibre is available everywhere. The nearest core cable to my location is 35km away. Also would like to add, 19.90€ is 5€ less what I pay for my ADSL2 connection, and I m lucky to get 10mbits download with that. Also, why in the hell would I buy this same device with 2 year contract, when I can get it without any contracts, for the same price. LOL.- Last night I was drunk
Cool story bruh. It's not poor people's business where I spend my money. It's the same price for everyone, poor people still might think it's expensive. Also, you should know prepaid means no contracts.- back in control
I, supreme and universal Khan of the united Finnic khanate, Facial Khan hereby announce that I will be assuming control over spam/off-topic. Also mods please go away, no man commands me, I answer to the allmighty Lord.- Last night I was drunk
I bought a prepaid 4G Modem with 30-days unlimited data transfer for 59.90 (40€ for the device and 19.90 / month of unlimited surfing.) time to ditch my old ADSL2+ piece of shit. Just bought 12 additional months 19.90€ / month.- no racism tho
- bestest sauna map
- bestest sauna map
List of every PUBLIC sauna in Finnic Khanate. Does not include the over 1 sauna / capita that are privately owned. Also, please note I am the Khan of this khanate.- Website Developer
Adding you later. 8+ years of HTML, CSS, JS and PHP. I am a true god when it comes to secure SQL queries via PDO.- what i've been up lately
fuck you bitches im famous- guess who is here
i has ask boss evil man if ok bring wife work- selling cheap anti-robbery kit
Who the fuck would break into a house where lives a bear sized dog and a giant?- selling cheap anti-robbery kit
Includes following; atleast one big dog's food bowl (diameter 50cm {19inch}) a sack of broken moose bones to fill the bowl with euro size 50 combat boots (US size 14) e. usage guide; place in front of your door only 99.99$ + shipping!!!!! guaranteed work- Experts Reveal: Have you been posting shit the wrong way your entire life?
Experts say that the purpose of shitpost is to be confusing, stupid or just otherways meaningless content. Latest trend on Spam/Off-Topic: #ClickbaitTitle- Rate my code.
public function forceAutism($makesense) { $sth = $this->dbhandler->prepare('SELECT * FROM facial WHERE question = :makesense); $sth->bindParam(":makesense", $makesense); $sth->execute if($sth->rowCount() == 1) { return $autism; } return $autism; } this is meme - i disagree with what you say ..