Is socket.shutdown(1) useless

2009-06-04 Thread Mohamed Garrana
Hello This is is in answer for Is socket.shutdown(1) useless Shutdown(1) , forces the socket no to send any more data This is usefull in Buffer flushing Strange error detection Safe guarding Let me explain more , when you send a data , it's not guaranteed to be sent to your peer , it&#

Re: Is socket.shutdown(1) useless

2005-04-13 Thread Steven Bethard
[EMAIL PROTECTED] wrote: In my python books I find exclusive use of socket.close(). From my other readings, I know about a "partial close operation". So, I figured it would be useful to post some code about how socket.close() has an implicit send in it and you can actually gain some clarity by bein

Is socket.shutdown(1) useless

2005-04-13 Thread pyguy2
Issues of socket programming can be wierd, so I'm looking for some comments. In my python books I find exclusive use of socket.close(). From my other readings, I know about a "partial close operation". So, I figured it would be useful to post some code about how socket.close() has an implicit send