We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used the example simple-server and used this code to ping it:
simple-server
import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("localhost", 60)) s.sendall(b'\x00\x00') data = b" " while data != b"": data = s.recv(4096) print(data)
I received four different types of output.
b'\x00' b'\x0f\x00\x00\x00\x00\x00\x00\x00Hello From "/"!' b''
b'\x00\x0f\x00\x00\x00\x00\x00\x00\x00Hello From "/"!' b''
b'\x00' b'\x0f\x00\x00\x00\x00\x00\x00\x00' b'Hello From "/"!' b''
b'\x00\x0f\x00\x00\x00\x00\x00\x00\x00' b'Hello From "/"!' b''
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I used the example
simple-server
and used this code to ping it:I received four different types of output.
The text was updated successfully, but these errors were encountered: