Module 01 TCP Server and Client communication (Socket Programming with Python)

preview_player
Показать описание
This video series is to learn socket programming with python, to understand socket programming in an easy way, to understand how data communication takes place across the network.
In this module, you can understand how TCP communicate between two hosts across the network.
If you have any comment or question, pls send me an email.
Please like, subscribe and share to your friend if this is informative to you.
Рекомендации по теме
Комментарии
Автор

One of the best sockert programming tutorials on the net. Thanks for sharing. Very very nice video.

hasan
Автор

Nice video. I have been stuck on sockets for about a week and I finally made my first socket program that I understood.
Thanks

nahfid
Автор

This video is so great. What made it more awesome that you showed the traffic with wireshark and netstat.
Keep it up man.

pschamyal
Автор

Thanks - you have cleared up a lot of stuff

sadhooramrup
Автор

man this is really helpful thank you for make such a great video .

jamesbond-nvcb
Автор

You are Amazing man, Keep doing this awesome stuff <3

hackmachine
Автор

Great tutorial. Can you please share ppt showing up at 4:10 time in your video ?

akjk
Автор

can you make a video which cover following programs using client-server test kit.
1. the client program should be able to vary the number of messages sent and their size; the server should detect when a message from a particular client is missed.
2. make a client program that repeatedly reads a line of input from the user, sends it to the server in a UDP datagram message, then receives a message from the server. The client sets a timeout on its socket so that it can inform the user when the server does not reply. Test this client program with the server program
3. the client repeatedly takes a line of user’s input and writes it to the stream and the server reads repeatedly from the stream, printing out the result of each read. Make a comparison between sending data in UDP datagram messages and over a stream.
4. write a program to test the effect on the sender when the receiver crashes, and vice-versa.

jchaudhary
Автор

in newer versions of python you will have to store message in some variable maybe x .... then store value of x in other variable y and the use y = x.encode('utf-8')... and finally use client.send(y) ...else it will not work

AlokTech
Автор

Greate video. I have a problem
i use window 8 and virtualbox kali
when i code client.send("hello") it have an issue
Traceback (most recent call last):
File "<pyshell#10>", line 1, in <module>
client.send("Hello")
TypeError: a bytes-like object is required, not 'str'
I'm beginner and i don't know what's happen and why, so i hope you can help me
Thank you

Python
Автор

I see your code in shell python in windows. So kali linux you used is virtual machine or something?

thuytrantruong
Автор

Nice video. I set up a server and it starts to listen on its socket, (the IP I got from method. But when I try a clent to connet to it, it doesn not succeed and gives the bottom error.
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

arsalanahmad
Автор

Hi Mr Thanks So much, I having problem between server to client to my Ubuntu Machine Once I type Client.send I'm seen o my server IP only not client side tqz

MRHanad
Автор

m not able to send data....error says:-"a bytes-like object is required not 'str'

GauravSharmaIsHere
Автор

why my code : client.send("xxxx") had error mesage like list
client.send("dd")
TypeError: a bytes-like object is required, not 'str'

郭志中-eb
Автор

how do i search documentation like yours

tomgu
welcome to shbcf.ru