Nov
18
awarded Supporter
Sep
1
awarded Informed
Sep
1
reviewed Looks Good How can i make my list View Clickable?
Sep
1
reviewed Looks Good How to call a JS function before a jquery button click(click through selector)
Sep
1
reviewed Looks Good Is flush() call necessary when using try-with-resources
Sep
1
awarded Custodian
Aug
18
asked How to generate include folder directives with CLion
Jul
20
comment Python Connection Reset by Peer
I actually am having some kind of fun. Not sure you would understand why, though :-P Take care.
Jul
17
comment Python Connection Reset by Peer
sure you did. And yet you don't know the difference between a socket object and a port. Or between the local address and the remote one. Go figure.
Jul
17
comment Python Connection Reset by Peer
The PORT will not change when accepting the connection, but yes, you'll get a new SOCKET. You may want to find out what a PORT is and what a SOCKET is.
Jul
16
comment Python Connection Reset by Peer
There is no port change when you accept a connection on the server, otherwise how would a server be able to accept multiple connections. Also, socket.accept() returns a tuple (socket, remote_address), not (socket, port).
Jul
15
revised Python Connection Reset by Peer
added remark about listen's backlog value
Jul
15
revised Python Connection Reset by Peer
added 186 characters in body
Jul
15
comment String + Variable + String formatting in Python
Also, @germn answer mentions context managers, which is a good thing.
Jul
15
comment String + Variable + String formatting in Python
Oooops (about the iter thing) :-)
Jul
15
answered Python Connection Reset by Peer
Jul
15
comment String + Variable + String formatting in Python
He's calling iter on a file. And the output makes sense, it's just not complete.
Jul
15
comment String + Variable + String formatting in Python
Why the downvote?
Jul
15
answered String + Variable + String formatting in Python
Jun
8
accepted How to mock standard library functions in D
1 2 3 4 5