News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Is Windows Sockets 2 the best approach to the Internet ??

Started by Zen, December 21, 2013, 06:18:27 AM

Previous topic - Next topic

Zen

I'm a complete idiot when it comes to programming Internet applications,...
So,...here's a question for you networking pros: Is Windows Sockets 2 the preferred way to access the Internet ??   

...And, here is a Mission Impossible type question: Are all the standard Internet protocols inherently unsecure ??
...And,...yes,...you can assume that I'm a retarded, mindlessly annoying little kid,... ::)

Farabi

Winsock is the lowest posible access to the internet hardware port where we dont need to manage everything, imagine, one single hardware port is divided into thousands of ports known as protocol like HTTP, telnet, IRC and many thing else. By using socket youre talking directly to another computer/s byte by byte depend on the standard.
Talking about security, as you might know when you using a hub on a LAN, you can eavesdrops another computers data transmitions because all of the data output from another computers is broadcasted to all computer within the LAN. For security, you will need an encryption becase of that system which is broadcast all data to all computers. On cellular system, that kind of system is worked the same ways too, some hardware use software to filter the data entered to their hardware and if you change the driver, you can eavesdroping the whole SMS within your data coverage, it is posible becase the network system is a polling system which is waiting until the wanted device answered, this is the fastest method known on earth and the most easiest.

So, for security reason, you have to stick with encription. Even sometime shifting the bit left 3 times can be difficult to read for some newbie. Because the dangerous thing on internet security is not how many people able to break in but how much wide the tools the hacker made spread, because that tools that can make some newbie able to break in. I dont think there is many people know about encryption.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

Zen

DANG !!! ONAN,... 8)
That was a really good answer,...thanks !!!

Blackmasm

Or yes and yes, as I might put it :badgrin:

HTTPS is encypted from browser to webserver, if that is of any interest.
</ me>

Zen

BLACKMASM,   
Yes,...that is of MAJOR interest. Thanks.   
I'm doing a lot of research on the subject,...as, I know almost nothing about networking or Internet protocols.   

Farabi

Quote from: Zen on January 11, 2014, 05:49:40 AM
BLACKMASM,   
Yes,...that is of MAJOR interest. Thanks.   
I'm doing a lot of research on the subject,...as, I know almost nothing about networking or Internet protocols.   

It is simple, you just connect to an address send a string and wait response from the server, my mistake when doing this is forget to have a "0x0D,0x0A" twice on the string. The server sent nothing, and I left clueless why the process is always failed, but then I realized it I was wrong at terminating the string data. The rest should be simple.
http://farabidatacenter.url.ph/MySoftware/
My 3D Game Engine Demo.

Contact me at Whatsapp: 6283818314165

Blackmasm

Oh btw

I recently came across some projects with source code that should help, especially if you're new to sockets.

An email application (uses POP but still runs over TCP/IP), it uses winsock.inc - whereas I think you might want ws2_32.inc but they should be backwards compatible as the actual libraries are.

Here: www.japheth.de/joe.html

And a http webserver: www.japheth.de/httpdasm.html

Whilst I don't think they'll cover the encryption, they'll certainly get you started on the basics of opening, cleaning and closing a socket for use with your chosen protocol, and you can look into SSL / TLS etc from there.

The author has a number of interesting projects including JWASM no less.
</ me>

Stan

Quote from: Blackmasm on January 25, 2014, 11:27:21 AM
Oh btw
...
Here: www.japheth.de/joe.html

And a http webserver: www.japheth.de/httpdasm.html
...

Not Found
The requested URL /joe.html was not found on this server.
Apache Server at www.japheth.de Port 80


Not Found
The requested URL /httpdasm.html was not found on this server.
Apache Server at www.japheth.de Port 80


links broken

bsdsource

Just visit http://www.japheth.de and scroll down towards the bottom of the sites. Click on the appropriate link.

dedndave