Sockets: Difference between revisions

Content deleted Content added
→‎{{header|Clojure}}: small improvements
m →‎{{header|C}}: Fixed small error
Line 159: Line 159:
{{works with|gcc|4.2.2}}
{{works with|gcc|4.2.2}}


With little changes it could work on MS Windows (without Cygwin) too. But I don't know exactly how. I have tested it using the <tt>netcat -l -p 256</tt>.
With little changes it could work on MS Windows (without Cygwin) too. But I don't know exactly how. I have tested it using <code>nc -l 256</code>.


<lang c>#include <stdio.h>
<lang c>#include <stdio.h>