/sqt/ - Stupid Questions Thread

Read the sticky: >GNU/Linux questions >Windows questions >PC building? >Programming questions >Good, cheap laptops >Cheap electronics >Server questions >Buying headphones How to find/activate any version of Windows?
rentry.org/installwindows

Previous Thread:

Attached: nick-young-confused-face-300x256-nqlyaa.jpg (800x450, 18.14K)

Other urls found in this thread:

youtube.com/watch?v=IZQ72ognqac
twitter.com/SFWRedditGifs

My 4chanX navigation bar disappeared. How to I bring it back? Reinstalling the extension did nothing.

best antivirus softwae that isnt common sense

Reposting from last thread, found this in task managers startup section. Nothing strange in my startup folder, services.msc or task scheduler

Attached: asasa.png (675x164, 11.85K)

Stupid question: If I upgrade a computer to Windows 11, will it still sync with my other devices that still use Windows 10? Like edge, OneDrive etc.

Gentoo.

Attached: Gentoo Linux.jpg (360x203, 29.54K)

This is a client in C++
How would I send a string to the server?

#include
#include
#include
#include
#include
#include

#define ADDR "192.168.0.112" /* CHANGE */
#define PORT "12002" /* CHANGE */

int main()
{
struct addrinfo hints = {0}, *addr = NULL;
hints.ai_family = AF_UNSPEC;
hints.ai_socktype = SOCK_STREAM;

int status = getaddrinfo(ADDR, PORT, &hints, &addr);
if (status != 0) {
fprintf(stderr, "getaddrinfo()\n");
exit(1);
}
int sock = -1;
{
struct addrinfo *p = NULL;
for (p = addr; p != NULL; p = addr->ai_next) {
int sock = socket(p->ai_family, p->ai_socktype, p->ai_protocol);
if (sock == -1) {
continue;
}
if (connect(sock, p->ai_addr, p->ai_addrlen) != -1) {
break;
}
close(sock);
}
if (p == NULL) {
fprintf(stderr, "connect(), socket()\n");
exit(1);
}
freeaddrinfo(addr);
}

/* Do whatever. */

close(sock);
return 0;
}

Attached: 97caf3ebe3ee487b79a1df27f1160c9f.jpg (650x910, 49.71K)

>common sense
>aka don't download from sketchy places
What if you torrent something and you want to make sure it's not a virus? Sure you can use Virus Total, but maybe you want a local antivirus just to double check

I think people run that stuff in vms

You should be fine to disable them then