Jun-04-2019, 07:48 AM
The Python sockets module is a tin wrapper around C Socktes. It's a little bit abstracted.
A server and a client use the same method to create a socket (Adress family, Protocol, Flags)
After the socket creation you decide to bind, if you want to be a server or connect if you're
a tcp-client. If you're using udp, then use sendto as client. UDP is connections less.
If you use C, all this methods are functions, which returns a file-descriptor or error code.
A server and a client use the same method to create a socket (Adress family, Protocol, Flags)
After the socket creation you decide to bind, if you want to be a server or connect if you're
a tcp-client. If you're using udp, then use sendto as client. UDP is connections less.
If you use C, all this methods are functions, which returns a file-descriptor or error code.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!