So as in this video, we'll be talking about the soccer programming and with that soccer programming,
we will write the Binzel Circle.
So first, soccer programming is a way of connecting to our network to communicate with each other.
So this saga consists of a and no, and this is a way of guaranteeing donuts on an.
First, let's see what are the process, what is the process to create a socket and to manage this connection?
As you can see here in the diagram, the geek's for Giesbrecht, there is a server and there is a current
first server will create a socket and then this set up is an optional function which is used for port
readdressed.
We don't need for this cause.
And then this after creating a socket, we need to bind that socket to an IP address and put no using
the brain function and then will be going server is going to result in for a treat for connections.
So on the other side, the current is going to create a socket and then it would connect to this server
using that IP address and the port, no special interconnect function.
So once connected, this server knows that a client is going to connect, then that it will accept function.
We get executed after exer function designed for the mission of the client is stored in a file descriptor.
And with that further schlocker, you can send or receive data to and from the crown.
So as you know, this potential will result in finally on the victim and we need to connect to that
victim using Nakad or any major Britisher sorry, um, multi handler there.
So we are going to write the server code for our bench.
So let's see, what are these functions?
First one is soccer function.
So when you look at soccer and further, we need to specify three types, three arguments.
First one is the domain and this domain can be finished and the final six are the it, since we're using
the IP version for address.
That's what we are going to use the infinite and the number we are going to use for a year for these
two in the in the system called View Alternate in the letter.
And the type is going to be that these are really.
And here you can see that soccer team for people on the ground for the diagram.
And that is unity since we are using that, since we to connect and we need to get the T-shirt, we
will be using this suction.
And remember, the number for the soccer team is one actually to root all these numbers.
But I did not find the header first because in the one to 18 are the snap packages and everything was
changed.
And the header first I did not.
I took a few, but I just did not get those numbers previously held on this long, long months ago.
Then I wrote the script and in that I just looked at it and I just know the numbers of the protocol
began servitors as another and said Sockpuppet is an optional function.
We are not treating this way.
We are not ready to use this function increases somewhat so that are good.
And the one important property of the circle is we need to create the circle with the addresses as possible.
So the next function is brain function.
Since we have created the socket, it will return that integer that is targeted for the direct reference
to the socket for this quarter and the next one is mine.
So we will bind.
And the first argument is which socket to when this socket is going to be the previous result.
This is soccer between soccer practice and the second argument going to be a structure this structure
consists of.
I just put number and the IP version four and this one is addressed when we need to specify the length
of this structure and we are going to specify the length of the structure in here.
So we will be seeing this structure also in a few moments.
So after this function gets a decoder, it will OK, it will point to the particular IP address and
post Fishburn in this structure.
And then after binding, we need to reason that socket in an infinite stage.
Right, too, for for accepting an incoming connections.
So it an off some of the Wittstock of B before previous this one you can, you can get the result here
and you can the result in here and the back row is the result for a number of connections.
First, a backlog for one after one correction.
The server will not accept any other connections.
I mean, it stops listening and then after listening, we need to accept function.
This excerpt function axle's the connection from the ground and it takes the parameter soccer v and
the structure structure that the structure and then Sagada.
These two can be null because these are related to the incoming connections.
Sagat address.
That means are the information from the incoming connection will be stored in the servers and the rest
will be stored in this pointer.
Since we are not going to use this kind information anyway, we will put the null in these variables,
these arguments after accept what we want to use, we need to duplicate our standard input output in
order to disaccord.
OK, after getting this soccer, then we need to educate the.
Then we get a reversal, whatever we tape, it will be sent to the commission and then it will execute
and now properly printed on our screen.
So let's see what this does.
C programming code for this.
So I will explain the basic order of this court first will correct the circuit with the Air France doctrine
and the protocol is zero and then it returns it for the skipper.
If it returns zero, that means it was unable to create the socket and then set up its using the port
again.
OK, this is the important one.
We already said that four point one is the final descriptor circuit for this and second results address
Sagada does so.
This Socotra structure contains three values.
One is the Alpha unit, which which is a value of two and not, as you noted here on the screen, it
stands for the IP address and the port in Italy are under scrutiny means the server DRL program will
result on any interface.
That means if you if any connection came to any interface.
Automatically, the connection will be accepted and after creating the brand new gun will be going out
resiling.
Condition of the soccer first Cooper and Upcountry Corrections and now the new socket after the accident.
And we just we don't need to care for this current socket address structure and we can simply put hold
and then we'll educate the doctors and then we will execute the A.E.
So let's see how to call these functions in our assembly language into the operating systems.
There is a function called socket called.
Sorry, in olden in Canada before, for this is mandatory to court, this circuit functions, but in
the latest convergence, the circuit court is also there, but also are the circuit binding current
got their own functions or system calls so you can use the socket bind cannot result separately, but
you can also use a circuit court in this case will be using the circuit court because our client's computer
or victim's computer will be the older generations.
So two compatible older and newer conversions.
We will use the circuit court.
So we'll be using the circuit court only for compatibility issues.
You can also use the only standalone system called Socket Brain Connect.
So let's see what the structural socket court and this was in the Linux net hydrofoil and the circuit
court of first one is the number of the circuit function you need to call, and this one is the arguments
to this system.
All right.
So what are the numbers of this circuit court?
OK, let's go.
And it's going to want to.
So I guess I have found this only one card either include Senator Hatch and previously I have to connect
it to NorTech, but there are so many ways to address and you can just Google it for the numbers of
find and and Sakshi, but I will be showing directly the numbers.
OK, no socket function cards addresses one.
I mean, system card number is one and bindis to connect these three reasonings for accept this fight.
So in order to carve the socket system card, I need to place one in here.
And the arguments to this socket function should be placed as a pointer to this second argument.
So how you pass the pointer, you need to push all these arguments onto the stack and copy the E.S.P
volume to register and push that register value into the this one.
So it's like executing a normal system called.
But this circuit court system card number will be placed in box and this one will be placed in the evicts.
And the third element, which is the pointer to our arguments of dysfunctionally the president is right
now we will find out what is the system card number of circuit card.
So now I want to look at unity, underscore that to do that, which.
So this one is hard to find.
We need.
So now I'm going to go for that so I could call.
So a good cause number is one or two, so the not good numbers to be placed in the crystal.
And in the evicts, if you want to call the socket function, you need to press the one.
Into play, the one in the weeks and six should contain the pointer to the argument, so that could
function.
So, OK, I know I have said the theory goes, no, we will do the actual call for that.
I haven't shot the visual studio because it will be very convenient for any copy pasting of functions
in Texas.
And you can also use NENO.
So let me create a global stat.
So there's no option.
We have just created a shot function, no, we want to create the contents of our registers.
To do that, we will sell X, our X company X in the same way we will do for every six years and new.
We are doing this to make sure that the registers are deros are like free.
Of course, now all registers have been cleared.
Now, what we want to do is we need to move the circuit court system.
No system cards, no into the register.
Since moving a bit further into debt to do so, which will be moving into gear, that is a bit tough
here.
So what we have seen in here on the.
Succored course number is one or two right now, plus the one or two here, so not to have the impression
that it's registered.
Now, the second the first statement is that what you want to perform the sacred functions and we need
to place its number in this first argument.
That means in evicts.
So I have already shown you socket function number is one.
No, I'm going to move it in to Bill Weir.
Come on.
All right, the second argument is going to be the pointer to the argument of dysfunction in its socket
right now.
Let me copy this, this one and let me it in a common.
So we'll be pushing some values onto the stack of push protocol we now need to set any protocol.
No, let's push UDIA.
We cannot bear to push because it gives the Norbert's and take is so extreme.
The number for this one is one zero one.
And if you can see that he finished his address, family, internet father, the number is two.
Sorry guys.
This I have found in my last script, but I cannot show you the first because I'm so confused at this
one to 18.
So sorry for them.
So we have placed the argument in the reverse order and now we are going to copy the E.S.P into Easy.
So that is a content pointer to all these arguments right now, you're so well, so I could cast no
and be your content.
And the second argument is arguments point to are these arguments is in here.
Now, what we can do is we can simply set in zero x 80 in the common soccer system called.
Now we can say there is the written value from the socket function and that will be in enough eggs,
let me copy that value into UTX for any further uses because we will be using the computer to point
out the circuit cause.
No.
Right now, UTX, how are you?
So the next function we are going to write is this brain function.
So let me copy the syntax.
So guess first, what they're going to do is we will first create the contents of X register to make
sure it's free, and then first we'll create the pointer to this structure first.
That for that we need to push are the values of this structure.
So the first one is zero and push X, right?
Sorry, Eddie.
So let's see this, the structure and the.
OK, this one the port is in should be in the middle.
They have changed the range.
OK, first we need to pass the IP address and further we are going to push our Xeros Argyris in the
sense zero zero zero, which means that our server is going to result on our adapters, our interfaces,
so we can just connect to any of the interface.
So that's what we need to push the area again and then we need to push that port, no.
So let me open the calculator.
So let me say one three, three seven.
Next to this one that is unified, right, we need to push that in reverse order, push and I'm going
to support bushwalk because it's all only for you to exert to push.
Otherwise, it results in the nearby Durex and three nine zero.
Right, three nine zero five.
All right.
Now, we have pushed the poll number and I purchased that.
We had Puzder if underscoring the value for this Espoo, we have already used it here.
And now I want to say again, push word to.
All right.
Now, if I copy the two E.S.P, do I look at this point to this structure?
So we have defined this structure, but we need to push this one.
So in general, the socket at the structure should be Lentol 16, right?
So that is not normal convention in response to all this, if you feel a part, is what it will should
become.
So let's, uh, let's take that.
If we push the situation or not push for whites, for whites, to whites, to whites, OK, we have
got unequal.
Now, what we're going to do is we are going to push another area.
You know, I to pat for the airline, for the 16 flights that we have pushed this what we need to push
point to this structure.
So push is X because we have already copied the ISP.
Now we need to push the sacrified, which is in the index register in order to push that push.
UTX right now, this intersection is in the stack.
Now, what we're going to do is we want to point that to the easy X register because we are calling
the circuit court.
And the third argument should be that, I mean, second argument should be not easy.
No, I can simply say in the Durex 80 now, this is the point system got.
OK, guys, we have completed the two functions now let's go to the third function, which is the liaison
function.
So let me copy this one.
So that means the comment, so now I'm going to copy that Eddie X, which is a return value from this
from this point into the UTX, and I'm going to also create X content.
OK, OK.
I'm sorry.
I did not put the value of the soccer.
I mean soccer because no one not to look at my bet and the number four.
The number four bindis.
Bindis to right now, I'm going to place this in your register.
Already, six countries have pointed to our governments and the Canadian soccer coach are convinced
Bindschadler No.
No.
We have already said that the backlog can be zero zero in the sense it will result for Internet connections.
And I want to push the Uddevalla, which is also it is zero, and the next I want to push the soccer
field is so push Lileks because I have already sailed the returns.
Were you into the solid soccer field?
No.
Copy are this structure that E.S.P value input is not easy.
Explains to the pointer to this argument right now.
What you want to do is we want to show more will come up one zero two.
You see the soccer course number and the next thing you want to do is want to be your karma.
So what we want to say is that is a number is four, right?
Four.
And then we can simply say in direct safety.
So we have successfully executed the prison system called.
So the next system will be the exact copy.
This one.
So before that, I want to see the return word it and also I will exert even clear the contents of eggs
with Mr..
So let me copy the here now the.
I think we are being proud of this.
These values can be null because we don't want any information here.
We are not printing anything.
So we just push Libya, which is the genius for this argument, and we also push Libya again.
For this argument and then the third argument will be the four star one and the soccer field is going
to push UTX.
So I will be copying this pointer to that is not easy contains the pointer to all these arguments right
now.
Again, I want to come up one zero two two, the circuit court.
So let's see the exact number.
And it is so me more copying to be now going to simply in the zero x 80.
So one thing to note is use of tractor function, it will return to your new socket for this and we
don't need to store it in that area because this is to interact with the clients descriptor.
And if you if you do anything with this socket, it will be reflected in the crime.
Right.
So now our area contains all the soccer fields.
I mean, Sarver's soccer right here is.
So you need to start the socket file descriptor right now, we have accepted the correction, what we're
going to do is we need to execute that position of called.
Correct me.
I think it's located in the United States.
Let me check that.
So now I'm going to go for up to.
So that the post system is three.
So let's also see the syntax.
So brigade of helicopter and OK to syntaxes here, the crew of all five, the skipper and Neuffer descriptor,
so it takes an awful descriptor and it's all related to this new risk.
Right.
So in our program, in our venture circle will be placing our first Cooper here and we'll be placing
the input output and standard error here.
So whenever the input is going into this first quarter, it will be related to this new file descriptor,
right.
So let's do this.
So with this.
So the pool system is 63.
No, I'm going, OK?
All right, now we are going to educate the position of what we are going to do is we are going to exer
you come on.
Yeah.
So let us sell the client to descriptor in the USA register just in case if you want any for the purposes.
So I'm going to write the comment.
Ground to socket of the.
So I guess I have clear that, you know, I want to move the
value into the air register, and this is a normal system called.
And we want to place the system going over in the years and faster than ever, and the second argument
is not easy or that someone will come up and this would be our servers suck at first, which is called
UTX in the previous case.
Yes, we have stored it in here and will be using the in that immediate register.
Right now, the new political quarter will be more severe.
Come on.
OK, let me clear that.
Easy to registers contents.
OK, now we are going to rewire this socket into the input output and error, so zero one two should
be placed in here and will be executed in this position called three times for input output and error
rate since zero.
Let's start with input.
And I I'm going to call the and say we need to perform the same function for one.
And two of the rallies for the new scripter, since we are pretty good at the input Dooku, we are going
to read out Padukone standard error rate.
If you carefully observe, we have already how the year and it year.
We just want to correct you six to get the value of 196.
And we just simply got into it the same 26 again and called the Interbrand.
So we hope we get all these sockets for this compared to input output and error rate.
The last thing you need to do is really to execute the execution system, which you have seen in the
previous video.
Right now.
The first one would be so I should have been a switch and the second one would be not because the benefit
use everything.
We don't need any arguments for that.
Now, I'll be clear in that year.
So they decreased number is called I'm going to move that into this year, register Durex B, which
is called and the first argument would be in ebooks digital.
So let's go to the Google and type string 2x and go to this website.
And I have already shown you in the previous year, it's very similar.
So I shall be an asset and convert this into the hexadecimal.
Let's copy into our script.
Now we push this value, the returning format that will reverse by order, 68, 73 to we have 60.
So I'm pushing this one, this one and go and reverse.
So I push it one more and I'm going to push another one.
So one bit and I'm going to push another eight and six, nine, six two.
But we have to use I'm sorry, we also push the gyro further.
I want to push it contains only zero, which will help clear the contents at here.
And we do not press anywhere in the area register.
That's what area content zero.
All right.
Our first argument is really and what we're going to release, will you be XCOM E.S.P.
Right now, Ebix points to our customer and can be zero.
Exarchia DCX.
All right, and there is one more argument, the environment variables null, and for that, we also
clear the contents of any exit.
And finally, we will call the system called using the interprete.
So it's up to now we have created the potential, so let us rise again what we heard here first.
We have created the are the registered values and then we have the soccer number into years and the
first functioning socket and that number is one.
And that is placed into be right now.
These arguments will be passed as a pointer to this, the second argument.
Right.
So it would be second argument.
It should be easy.
So the pointer to these are should be placed using these arguments are in the reverse order to make
sure that they'll be in the top because that is the right thing for the future.
And we were pushing that idea and one and two for these values.
And we are pointing it out and we are performing the circuit court and then we are storing the output
of these circuit functions into it, which is also good for the.
And then we'll be creating this structure for our brain function, and this takes as a different.
That's why we have added the padding, extra padding of ABH and this one is going to be the address
IP address, zero point zero point zero point zero.
So we will a judicial record.
If we got an error, we change to one condition, not one, not one, not one.
And the number is one three three seven.
And we be pushing the infinite value to onto this deck and then we'll be pointing this antenna structure
with Crystal, and then we will also push this address at this length and then the switch points to
the structure and finally the socket descriptor onto the stack.
And then we will point everything with Ishioka because it will be it will be checked with in the socket
court function.
Right.
At last we used the wireless circuit court and the brain and we call the brain function.
And the reason the backlog is zero to reason for infinite connections and will push the circuit for
this quarter, which is stored in the ATX.
And we will call with respect to numbers.
And then that's xcept function is that you start with this now as the second and third arguments would
push those two gyros, and then the third argument would be the total value push is the socket file
descriptor.
And then we point and tell arguments with the easy to the U.S. and then we said certain values so I
could call one or two and five for X and then we call the function, not the two.
And this word first descriptor points to the Sarver's target and the new word is going to point to input
output and error.
Now we rejiggered the schedule and then we will get the reversal potential and we should come to this
point, we're using the net.
So I think I have done everything right now.
Let's.
It's covid is fighting to our won permission.
So let me show you here.
So let us assume we're witnessing.
OK, just a detour, right, no good, but I no doubt.
We need to change some settings, right?
Where is the line number 82?
OK, I'm so sorry, OK?
I want to move it to the right.
I'm so sorry.
You know, I think it's not perfect.
That is microphone here.
There it is, yes.
So I we are going to do it in the title.
All right, nice.
Now, let's bring that up definitely.
So I'm not pulling my shirt, not the transaction.
OK, we have got that, but we go on it, is it right?
So we have done something wrong.
I think we need to police the crime to address this right since.
Because we are keeping the of soccer, we have got the same input output, another OK.
Let's try this one.
This one.
So instead of are you, sir?
Yes, I.
So let me change it in here also, so I would say yes.
So let us assemble this.
So, again, we got the same Sharon.
We need to modify some things.
All right, now, instead of this drug dealer, let us put the IP address, so let's open the calculator.
So, no, I want to be 137.
I want to listen to an excerpt of Small.
Sorry.
And to do so, we need to send it without God's.
And push zero zero one zero one zero one seven.
So this means one 27, not one, not one, not one.
So because if you don't get this under the Norbert's.
We got the similar we were getting the shaft, but.
Now, let's try to change the backlog at the backlog.
It's not beginning because we just set the backdrop to zero.
Now, let's back up to zero for.
Now, let's compare this one.
OK, let's turn this back to UTX.
Right, I don't understand why you are getting the.
All right, let's see this.
This reversal in Python.
All right, they have the same process, but we will be looking for the look to.
One seat.
All right, I'm sorry, guys, we need to put that aside.
That is the grand soccer player descriptor.
I'm so sorry.
Circuit Court of Binde.
I mean, sorry to put you off this first talking to the police authorities captivities Iasi.
Right.
So that is a result of the command to come out and then we will the business, which.
Since we got there, so I had.
After a lot of debugging, I have found that mistake by mistake is so this socket function, Breton's
socket and I'm scoring it, OK, that's fine.
But these functions return star status is zero or one or some other status.
Now, my mistake is I'm starting this return value of BINDE function in UTX.
That's why the word socket is not easily.
And these functions get corrupted because this socket for this part, has been preserved wrong.
That's why I'm coming.
I to this one only this socket function returns the socket and we'll be storing in that area.
And this area actually should be used in all these functions.
If we separate in one of these functions, that original value will be destroyed.
So this is very major mistake.
I have done.
After I started working, I got this badly changed and I had to settle for these functions and then
I had no idea that I am just replacing the functions of the discovery with dysfunctional families.
So everything OK, guys?
Now I have got another error.
This is where the system called, gave me a run for it to take it, put the input and after this point,
it's OK.
And then what it does it it's not open to my Boomi shall be terminal because these X value contains
the written value of this data.
That's why it's getting destroyed.
No, what I have done is I again x are these six and that means create the rediscoveries and Negin copy
pasted these instructions.
That means I'm just again creating the registers and then again I'm copying to make sure that those
values are in the resistors.
No.
Rigby compiled using nasal fidelity and no, let's run over binary.
So I'm going to use the network minus and and stands for this IP address and which stands for purpose
to tell us what's going on and the good IP address.
The number is one three three zero.
So as you can see, this connection is succeeded, but we did not get any.
A dollar or something like that.
Now we need to give the input into a list so as you can see us.
We have got the output we have successfully on the surface of the.
Who am I?
I'm so sorry for the mistake I have raised that you need to just comment on this comment about the UTX.
Copying instructions are removed so only this socket function returns the socket for this copper and
only once it should be stored in it.
I thought that every function, little socket, I am so wrong.
So that's what I disfigures.
I hope you have understood.
So this potential may not be useful in the real world because the client may have the firewall.
But this is using this concept.
We will create the reverse Chalco.
This reversal will be very easy then the banker.
But these concepts are very important for reversionary also.