Python Network Programming 2 - Creating a Socket ( Socket Programming )

preview_player
Показать описание
In this python networking video, we are going to start by creating a python socket.

Next Video - Binding the Socket and listening for connections

#python
Рекомендации по теме
Комментарии
Автор

You have super teaching skill.just mind blowing

mdyousufmazumder
Автор

your videos are great! very beginner-friendly

rxx
Автор

Your videos are as fantastic ad itself Python language is..

HimanshuMishra-fpvn
Автор

Can I create the server on AWS ? If yes, any differences in the current procedure ?

harshadjoshi
Автор

Dude your videos are really informative and absolutely helpful.
.
.
.
Just a lill suggestion
If you declare the variable outside the func it becomes a global variable you dont have to declare it as a global variable inside ur func, only if you want to access the global variables from within a function you can use the "global" keyword.

Syntax example:
d = "Global variable"
print(d)

def ch():
#global d
#d = "Func changed me"
print(d)
ch()
print(d)

Remove the "#" to see the scope of the variables.
Hope it was useful

Fire_Fly_
Автор

Great video :)

A small request, Can you make the fonts a bit more larger. Smaller fonts are very difficult to view from mobile devices.

nikcru
Автор

wait.. because the client will open client.py what if the client's computer does not have python installed in it or does not have any of the above header files in his/her computer? will this still work?

priyanshshankhdhar
Автор

Actually the way you teach is great exceptional .
But i have got some confusion at a point where we created a function create-socket():
And how is the s = socket.socket() going to pass into the bind_socket function () .

And when we execute the main() there are some errors generated
So i got confused here .

S is object created inside the create_socket()
And now we used s.bind(host, port) inside bind_socket()

I know there is global variable declaration but how can the socket can be executed when we havent passed s object inside the bind_socket() ??
Help me brother i am stuck here

sweekardahal
Автор

Sir ....! i have got a question -> do python based reverse shell can work on android hacking also

veerabhimanyusingh
Автор

Couldn't find the correct sys library in pycharm interpreter. But getting the result for dir in cmd prompt. Is it ok? or need to install sys lib again?

faisalsahab
Автор

I don't have credit bro I am student how to create server

chalapathinagavarmabhupath
Автор

man :( it asks for credit card, what can I do.

talhajubair