OK now to make the changes in the chat that we can just go onto the chat and let's click on the client
and server.
We just want to make a few changes where you know we would want to have things like the petabytes connectivity
out your read we would want to that data to client when he comes.
Not just his name but his you know a lot of the details are sent.
Let's see for example.
You know whatever he was say his name and then he enters.
Yes.
Tell him Hoskin is you know he's he's a client who's who is entering who is coming from some location
maybe you can ask him for his email.
So input
enter your email.
Right.
So this is one thing and let's say long email has also wanted to state of data but to be given so let
me say put Ok forget about the.
Currently we can we can deal without it for now but we have couple of things along with the name and
email and and stuff like that.
So also his IP address needs to be stored.
You know things like that need to be stored.
So what we can do is we can just we can just say I'll create a dictionary.
Say client in full dictionary which is going to be empty dictionary but when the name is entered I can
say client info.
I'm going to put my name as one of the arguments in it.
Client for name is Zach Wahls input entry name and playing intro email as going to be one of the arguments
for one of the keys of playing and Schrott so we can have that well you know taking bolts from the user
taking with the client and when I send it I'm going to say you know I'm going to you know in code basically
get both of them clean in full name and Klein e-mail sent together dotted code and sent it out there.
So what I can do is maybe we can just create a string let's say client finally create client client
SDR is going to be playing for his name.
So then what we do is instead of creating the dictionary because any way we are going to spend do it
right.
So let's not have this dictionary out here let's just have a simple two variables one is a name and
another is the email.
So I'm going to have them all to your name in an email and I'm going to create something like a client
involved here now which is going to be equal to the name and the role number.
So I'm going to store it in such a way that you're going to have something like Nick's name naming colon
name call and whatever it is his name up sorry and that's the role or e-mail and whatever his e-mail
ID that's going to be again Plath's along with email with a colon and then say eveil.
So now when I send send it to the server I'm going to just send client info on it.
That's it.
So I'm going to send the name and the e-mail with the name calling name and email calling and after
the name what I can do is I can put the I can put a comma so that there is.
That is a clear distinction between but.
So one is a name and one is an e-mail.
And both of them are there.
So what I'm going to do is initially when I send it course my Silverside should Silverside should be
changed in such a way.
OK.
Where's the error.
So it says Name all names you're name is your aunt names your name and email is put OK.
E-mail.
I think I think that is.
Yeah.
That's OK.
So this is safe.
And let me go to server and so what I'm going to do is basically got a connection from client and address
it or I have the address of the client with me and I have the name.
So what I can do is when I do conduct seith OK when I receive there's not going to be name just name
this is going to be client of the scoring.
All right client Klein and the score control which comes up here I need to store them when a choir.
So let's say Klein and scornful you know dot split split that whenever there is a split at whether there's
a comma.
That's Give me that will give me a list of give me a list of blind info again which is going to be a
list pay plan info list and full list.
Now this particular list we have to you know we have to create was going to be a list of you know splitting
spring things where there's a comma and let's say we have this in mind.
And then I need to split them up into you know different different portions and I have the name calling
saying the address no name calling name and have.
So I can just print out your print
client
by the name of
a client has connected
instead of printing it's your name.
I guess I'll copy this and I'll put it to you.
Truthless got a connection from a client that addresses ETR
and name call Ma Kline underscore entrail OK the
I'll have to again split it up right.
Because the Glend for skyline underscore in fall off list consists of these two things.
So let's say the zero consists of name calling.
So I need to split it.
Wherever there is a colon and when there is a colon wherever I split wherever there is a colon I'm going
to say that's going to be my.
OK.
No rice splitted there where there's a colon I'm going to split it up right.
So maybe we can give it a try.
Just a minute on Jupiter notebook you can go on you get in and you can just have a check out here.
Let's say this is the string that is going to get.
So you're going to get a string which says Name calling X Y Z OK.
Come on you're going to get often name.
What's the next thing that you're going to get asked to name.
You're going to get e-mail
e-mail or call an X Y Z at company dot com.
So we're going to check OK.
So instead of saying s that is nothing but claimed it will try to score it right.