You NEED to know these TOP 10 CYBER SECURITY INTERVIEW QUESTIONS elevatecyberse... WEBSITE elevatecyberse... GITHUB github.com/sel... JOIN THE ELEVATE CYBER DISCORD CHANNEL / discord FOLLOW ME ON TWITTER / elevatecyber
Пікірлер: 15
@cryptoeric24 Жыл бұрын
To bring in the import you can hover over Encoding and hit ctrl .
@shavais337 ай бұрын
Hey, great post, thanks for putting it up. A few questions: What happens if Connect fails without throwing and you need to retry? How do you know it failed and how do you get the error message? The docs I'm reading say you need to call EndConnect before using the connection.. is only for ConnectAsync? What if Connect hangs for a long time before failing? Is there a way to set a timeout that it will actually honor? What if it fails to honor the timeout, how can you kill it in a way that lets you retry after a few seconds? I need my client to repeatedly retry if/while the server is down, and I'm having trouble with Connect and ConnectAsync. They don't honor timeouts, they don't pay attention to cancel token sources being cancelled, they just hang.
@midknight3350 Жыл бұрын
Bah! You stopped short of reading the incoming stuff! I needed to know that. 😢
@mduduzimdu61608 ай бұрын
Hii I followed the steps but used port 8080. The connection cuts off after sending bytes. Please help
@begelston2 жыл бұрын
Thanks!
@mmaranta7852 жыл бұрын
What does the “using” do?
@elevatecyber5031 Жыл бұрын
It's import statement. I basically allows me to use code that someone else already wrote in my program, so that I don't have to reinvent the wheel.
@dadamnmayne2 жыл бұрын
nice. it would be much more deadly if it could accept a url instead of an ip address, or maybe both.
@epotnwarlock2 жыл бұрын
C# is kinda lame it won't let you craft your own tcp packets
@elevatecyber50312 жыл бұрын
You can. That's what the library I was using does. But you can always write the code yourself. Since it's such a standard library, I didn't bother.
@epotnwarlock2 жыл бұрын
@@elevatecyber5031 you can set specific flags in a tcp packet?
@MinokawaPH Жыл бұрын
@@epotnwarlock Why would you even think it's a C# constraint? It's like saying C and C++ can't do stuff because a "SPECIFIC" library constraints you lol
@epotnwarlock Жыл бұрын
@@MinokawaPH fundamental networking isn't a library, its a core feature of every language
@MinokawaPH Жыл бұрын
@@epotnwarlock Do you even understand what you're saying? A "core feature" of a programming language is defined by its data types, syntax, and its memory control, and its functions. Isn't a library my ass. In C and C++, you use the standard library, would it be C and C++ without the standard library? No, because C is defined by its syntax, and its procedural programming. C++ on the otherhand defined by its syntax and its object-oriented programming. In C# they're called modules, and like the "standard library" of C and C++, they were DEVELOPED USING THE SAME LANGUAGE, most of which are open source. A goddamn "core feature" of the language is defined by its ability to be translated to machine language.